Log in to your Datadog account and navigate to Integrations > APIs. Register a new application and fill in the required fields. Copy your Application Key and API Key into your clipboard.
Log in to your Statuspage account and navigate to Public Metrics > Linked Accounts. Select datadog and paste in your keys.
Navigate to Public Metrics > Active Metrics and click 'Add a Metric'. Select Datadog from the Metric Provider dropdown.
To find your Query in Datadog, navigate into your selected Dashboard, and click the 'Edit this Graph' button for the metric you would like to show.
Click on JSON and copy what is contained in the "q" field of the JSON payload.
Note: We don't support the full JSON payload so please make sure you're providing a Datadog query. Basically, what is contained in the "q" field of the JSON payload is what should be entered into our integration.
Paste the query into the Statuspage modal along with adding in a Display Name and Display Suffix.
Edit your metric to your satisfaction and make sure to set it to visible on your page.
Check out your page to see your new metric.