Skip to main content

Export to Datadog

The platform allows you to send your API traffic to Datadog. There are two alert types for Datadog:

Both types send through a Datadog integration on your Organization, so install the integration first.

Install the APIContext integration from Datadog​

Within your Datadog interface, install the APIContext integration and authorize the application.

Send all monitoring results to Datadog​

The Datadog type is listed only for a project that belongs to an Organization, and it sends through a Datadog integration on that Organization (see Org-level integrations).

  1. In the sidebar, under Configure Monitoring, select Alerts & Webhooks.
  2. Click Add new alert.
  3. Enter a Name.
  4. In Type, under Performance Events, choose Datadog.
  5. In Integration, choose your Datadog integration.
  6. Under Trigger alerts, turn on Pass, Slow, Warning, and Fail. With all four on, every result is sent.
  7. Optional: use Include tags and Exclude tags to limit which monitors are sent.
  8. Click Save.

DataDog Metric and Datadog Event are legacy types. They appear in the list only for a project that already has one. Use Datadog for new alerts.

Send conformance events to Datadog​

In the sidebar, under Configure Monitoring, select Alerts & Webhooks.

APImetrics Alerts and Webhooks screen showing the configured alerts and actions for a project

From here, select the Add new alert button.

APImetrics Alerts and Webhooks screen with the Add new alert button highlighted

Scroll through the list to the Conformance Events section, and choose Datadog (Conformance Events). From here, you can name your new Datadog Conformance Event.

APImetrics alert editor with the Type dropdown open and Datadog (Conformance Events) highlighted

Rename your alert as you wish, and click Save. By default, conformance failures are sent to Datadog. You can also send conformance passes by adjusting the toggle switch.

APImetrics Datadog Conformance Events alert editor with the Name field and Save button highlighted

Validation​

Your data will start flowing to Datadog on the next scheduled conformance check.

To trigger a manual conformance check, navigate to the Conformance tab from the left menu.

APImetrics sidebar with the Conformance tab highlighted for triggering a manual conformance check

Once there, click "Evaluate Most Recent Calls" on the bottom right corner of the page.

APImetrics Conformance page with the Evaluate Most Recent Calls button to trigger a manual conformance check