Skip to main content

Datadog SLOs

Updated over 2 weeks ago

By integrating Datadog with DX, you can perform analyses using data about Datadog monitors and SLOs, and incorporate them into DX scorecards. This data connector is only available for Service Cloud customers—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. (Note: Use an admin account to create the service account)

Step 2

Hover over your profile image (on the bottom left)

Create an API key by navigating to Organization Settings -> API Keys.


Step 3

  1. Navigate to the connector setup form in DX.

  2. Enter the credentials you have generated in the previous steps—refer to the information below for errors and troubleshooting.

You can identify which site you are on by matching your Datadog website URL to the base URL in the table below.

Site URL

Base URL

https://app.datadoghq.com

https://api.datadoghq.com

https://us3.datadoghq.com

https://api.us3.datadoghq.com

https://us5.datadoghq.com

https://api.us5.datadoghq.com

https://app.datadoghq.eu

https://api.datadoghq.eu

https://app.ddog-gov.com

https://api.ddog-gov.com

https://ap1.datadoghq.com

https://api.ap1.datadoghq.com

API Reference

The table below lists the specific API endpoints that are used by DX.

Endpoint

Documentation

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

invalid_credentials

Your API credentials entered are not valid.

invalid_permissions

Your API token does not have the permissions required by DX.

Did this answer your question?