Skip to main content
This Datadog integration is no longer receiving updates or new metric additions. You should instead use our Datadog Agent Integration, which provides more metrics than this native integration.If you have any questions about migrating to the Datadog Agent Integration, reach out to support.

Prerequisites

Configuring the Datadog integration

1
In Datadog, install the PlanetScale integration.
2
Create a Datadog API key in your Datadog Organization Settings and copy the key.
3
In PlanetScale, go to your organization’s Integrations settings, and select Configure for the Datadog integration. Paste your Datadog API key into the field.
Once complete, a “PlanetScale” dashboard will be available with incoming metrics from PlanetScale.
PlanetScale Default Dashboard in Datadog

Metrics We Collect

Once configured, PlanetScale collects the following metrics from every branch in your organization.

Billing

The Datadog integration is available on all of our paid plans.

Frequently asked questions

How do I track replication lag in Datadog?

You can use the following formula to set alerts for replication lag:
Make sure you replace <DATABASE_NAME> with your PlanetScale database name and <MAIN> with the name of the branch for which you’d like to track replication lag.

Need help?

Get help from the PlanetScale Support team, or join our Discord community to see how others are using PlanetScale.