Datadog Metrics Import

This page explains how to import metrics from Datadog to Doctor Droid platform.

[
  {
    "response_format": "timeseries",
    "queries": [
      {
        "data_source": "metrics",
        "name": "query1",
        "query": "sum:trace.django.request.hits{env:prod,service:ingest}.as_count()"
      }
    ],
    "formulas": [
      {
        "formula": "query1"
      }
    ],
    "type": "bars"
  }

From copied text like this one, copy the query. In this case, sum:trace.django.request.hits{env:prod,service:ingest}.as_count()

Paste it in the node template as shown below.

{
  "name": "ingestion API",
    "metrics": [
      {
        "name": "Hits",
        "source": "Datadog",
        "expr": "sum:trace.django.request.hits{env:prod,service:ingest}.as_count()"
      }
    ]
}


Datadog modules currently supported: