By integrating Datadog with DX, you can analyze monitoring metrics and SLOs and incorporate them into custom DX scorecards. Please visit our schema explorer to see what data DX imports.
Prerequisites
To connect Datadog to DX, you need:
a service account and Application Key
an API key
Setup instructions
Step 1
Create a Read Only service account with an application key—the scopes will be set automatically by the Read Only Role.
Step 2
Create an API key by navigating to Organization Settings -> API Keys.
Step 3
Navigate to the connector setup form in DX.
Enter the credentials you have generated in the previous steps—refer to the information below for errors and troubleshooting.
Set the Datadog API Base URL to https://app.datadoghq.com
if you are unsure of your company's specific base URL.
API Reference
The table below lists the specific API endpoints that are used by DX.
Endpoint URL | Documentation Link | Permissions Needed |
/api/v1/slo | slos_read | |
/api/v1/slo/{slo_id}/history | slos_read | |
/api/v1/monitor | monitors_read |
Errors
The table below lists potential error codes when adding a connection in DX.
Error | Description |
| Your API credentials entered are not valid. |
| Your API token does not have the permissions required by DX. |