Integrate TiDB Cloud with Datadog
TiDB Cloud supports Datadog integration. You can configure TiDB Cloud to send metrics about your TiDB clusters to Datadog. After that, you can view these metrics in your Datadog dashboards directly.
Datadog integration version
TiDB Cloud has supported the project-level Datadog integration (Beta) since March 4, 2022. Starting from July 31, 2025, TiDB Cloud introduces the cluster-level Datadog integration (Preview). Starting from September 30, 2025, the cluster-level Datadog integration becomes generally available (GA).
- Cluster-level Datadog integration: if no legacy project-level Datadog or New Relic integration remains undeleted within your organization by July 31, 2025, TiDB Cloud provides the cluster-level Datadog integration for your organization to experience the latest enhancements.
- Legacy project-level Datadog integration (Beta): if at least one legacy project-level Datadog or New Relic integration remains undeleted within your organization by July 31, 2025, TiDB Cloud retains both existing and new integrations at the project level for your organization to avoid affecting current dashboards. Note that the legacy project-level Datadog integrations will be deprecated on October 31, 2025. If your organization is still using these legacy integrations, follow Migrate Datadog and New Relic Integrations to migrate to the new cluster-level integrations and minimize disruptions to your metrics-related services.
Prerequisites
To integrate TiDB Cloud with Datadog, you must have a Datadog account and a Datadog API key. Datadog grants you an API key when you first create a Datadog account.
If you do not have a Datadog account, sign up at https://app.datadoghq.com/signup.
To set up third-party metrics integration for TiDB Cloud, you must have the
Organization OwnerorProject Owneraccess in TiDB Cloud. To view the integration page or access configured dashboards via the provided links, you need at least theProject Viewerrole to access the target TiDB Cloud Dedicated clusters under your project in TiDB Cloud.
Limitation
Datadog integrations are now only available for TiDB Cloud Dedicated clusters.
Datadog integrations are not available when the cluster status is CREATING, RESTORING, PAUSED, or RESUMING.
When a cluster with Datadog integration is deleted, its associated integration services are also removed.
Steps
Step 1. Integrate with your Datadog API Key
Depending on your Datadog integration version, the steps to access the integration page are different.
In the TiDB Cloud console, navigate to the My TiDB page, and then click the name of your target TiDB Cloud Dedicated cluster to go to its overview page.
In the left navigation pane, click Settings > Integrations.
On the Integrations page, click Integration to Datadog.
Enter your Datadog API key and choose your Datadog site.
Click Test Integration.
- If the test succeeds, the Confirm button is displayed.
- If the test fails, an error message is displayed. Follow the message for troubleshooting and retry the integration.
Click Confirm to complete the integration.
In the TiDB Cloud console, navigate to the My TiDB page of your organization, and then click the Project view tab.
In the project view, locate your target project, and then click for the project.
In the left navigation pane, click Integrations under Project Settings.
On the Integrations page, click Integration to Datadog (BETA).
Enter your Datadog API key and choose your Datadog site.
Click Test Integration.
- If the test succeeds, the Confirm button is displayed.
- If the test fails, an error message is displayed. Follow the message for troubleshooting and retry the integration.
Click Confirm to complete the integration.
Step 2. Install TiDB Cloud Integration in Datadog
Log in to Datadog.
Go to the TiDB Cloud Integration page in Datadog.
On the Configuration tab, click Install Integration.
- For cluster-level Datadog integration, the TiDB Cloud Dynamic Tracker dashboard appears in your Dashboard List.
- For legacy project-level Datadog integration (Beta), the TiDB Cloud Cluster Overview dashboard appears in your Dashboard List.
View the pre-built dashboard
In the TiDB Cloud console, navigate to the Integrations page.
Click the Dashboard link in the Datadog section.
- For cluster-level Datadog integration, the Dashboard link opens the new dashboard, which includes the latest metrics introduced in the enhanced version.
- For legacy project-level Datadog integration (Beta), the Dashboard link opens the legacy dashboard, which does not include the latest metrics introduced in the cluster-level Datadog integration.
Metrics available to Datadog
Datadog tracks the following metrics for your TiDB clusters.
For cluster-level Datadog integration, the following additional metrics are also available: