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 the query. 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.