Use Datadog with Automation
This article refers to features that are currently rolling out. To find out when these features will be live on your site, keep an eye on our release notes or the Atlassian Community.
The Datadog integration with Automation is only available to Jira Service Management Cloud customers on Premium or Enterprise plans. Find out how to upgrade your plan.
You can connect your Datadog account with your project to automate the process of getting services details, dependencies, metrics.
To use these actions, you need to connect the Datadog app to Atlassian Automation. For most of the automation actions, you’ll get a connection setup message when you select them. Once the connection is established, you can automate actions and set up triggers based on Datadog events.
You must be a Jira admin to connect Datadog to Atlassian Automation.
Before you begin
To manage project automations, you must have the appropriate project permissions:
Company-managed projects: You’ll need the Administer projects and Browse projects permissions for your project. Learn more about permissions for company-managed projects
Team-managed projects: You’ll need Administrator access for your project. Learn more about permissions for team-managed projects
To manage global automations, you’ll need the Administer Jira permission. Learn more about global permissions in Jira Cloud.
Integrate your automation rule with Datadog
Go to Automation and select Create rule.
Select the Datadog action for your rule.
Select Connect to create a connection with Datadog. Connections allow your automation rules to fetch data from other tools and products.
Enter the required information to create your connection with New Relic:
Connection name: Enter the name of the Datadog connection.
API key: Enter the API key that identifies your account and lets Datadog ingest data from your apps and services.
Application key: Enter the application key that grants access to Datadog’s API for a specific user or application, with defined permissions.
Domain URL: The base URL for the Datadog site. For example:
https://app.datadoghq.com
5. Select Connect to complete creating your connection.
Actions
Get Datadog services
You can use this action to get a list of all services in Datadog.
Smart value
{{fetchedDatadogServiceList}} – Returns the Datadig Services list.
Get Datadog service definition
You can use this action to get service definition from Datadog Service Catalog, including metadata, team info, and service configuration.
Enter the following fields or select using smart values:
Service name: Enter the name of the Datadog service to get dependencies from.
Smart value
{{fetchedDatadogService}}
– Returns the Datadog service.
Get Datadog SLO
You can use this action to get all service level objectives (SLOs) defined in Datadog to track performance targets and reliability goals.
Smart value
{{fetchedDatadogSloList}}
– Returns the Datadog SLO list.
Get Datadog SLO history
You can use this action to get historical data for Datadog SLOs to analyze trends and review past performance.
Enter the following fields or select using smart values:
SLO ID: Enter the Datadog SLO ID.
Smart value
{{fetchedDatadogSloList}}
– Returns the Datadog SLO list.
Get Datadog metrics
You can use this action to get the list of all active Datadog metrics from a given time until now.
Enter the following fields or select using smart values:
From: Enter the time when the metrics were active.
Smart value
{{fetchedDatadogMetricList}}
– Returns Datadog metrics list.
Get Datadog metrics data
You can use this action to get time-series data for a specific Datadog metric.
Enter the following fields or select using smart values:
Metric ID: Enter the metric ID.
From: Enter the start time for the data you want to retrieve and analyze.
To: Enter the end time.
Smart value
{{fetchedDatadogMetricList}}
– Returns Datadog metrics list.
Search Datadog logs
Search log entries from Datadog for analysis.
Enter the following fields or select using smart values:
Search text: Enter the log search text.
From: Enter the start time.
To: Enter the end time.
Smart value
{{fetchedDatadogSloList}}
– Returns the Datadog SLO list.
Was this helpful?