Integrate TiDB Cloud with New Relic
TiDB Cloud supports New Relic integration. You can configure TiDB Cloud to send metrics of your TiDB clusters to New Relic. After that, you can directly view these metrics in your New Relic dashboards.
New Relic integration version
TiDB Cloud has supported the project-level New Relic integration (Beta) since April 11, 2023. Starting from July 31, 2025, TiDB Cloud introduces the cluster-level New Relic integration (Preview). Starting from September 30, 2025, the cluster-level New Relic integration becomes generally available (GA).
- Cluster-level New Relic 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 New Relic integration for your organization to experience the latest enhancements.
- Legacy project-level New Relic 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 New Relic 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 New Relic, you must have a New Relic account and create a New Relic API key of the
Ingest - Licensetype.If you do not have a New Relic account, sign up here.
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
New Relic integrations are now only available for TiDB Cloud Dedicated clusters.
New Relic integrations are not available when the cluster status is CREATING, RESTORING, PAUSED, or RESUMING.
When a cluster with New Relic integration is deleted, its associated integration services are also removed.
Steps
Step 1. Integrate with your New Relic API Key
Depending on your New Relic 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 New Relic.
Enter your API key of New Relic and choose the site of New Relic.
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 New Relic (BETA).
Enter your API key of New Relic and choose the site of New Relic.
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. Add TiDB Cloud dashboard in New Relic
Depending on your New Relic integration version, the steps are different.
A new TiDB Cloud dashboard will be available in New Relic after the pending PR is merged by New Relic. Before that, you can manually import the dashboard to New Relic by taking the following steps:
Prepare the JSON file for the new dashboard.
Download the template JSON file here.
In the JSON file, add
"permissions": "PUBLIC_READ_WRITE"to line 4 as follows:{ "name": "TiDB Cloud Dynamic Tracker", "description": null, "permissions": "PUBLIC_READ_WRITE", ... }Add your New Relic account ID to all
"accountIds": []fields in the JSON file.For example:
"accountIds": [ 1234567 ],
Log in to New Relic, click Dashboards in the left navigation bar, and then click Import dashboard in the upper-right corner.
In the displayed dialog, paste all the content in the prepared JSON file to the text area, and then click Import dashboard.
View the pre-built dashboard
In the TiDB Cloud console, navigate to the Integrations page.
Click the Dashboard link in the New Relic section to view the pre-built dashboard of your TiDB clusters.
Depending on your New Relic integration version, do one of the following:
- For cluster-level New Relic integration, click TiDB Cloud Dynamic Tracker to view the new dashboard.
- For legacy project-level New Relic integration (Beta), click TiDB Cloud Monitoring to view the legacy dashboard.
Metrics available to New Relic
New Relic tracks the following metrics for your TiDB clusters.
For cluster-level New Relic integrations, the following additional metrics are also available: