Datadog
Rocketgraph reads your Datadog APM metrics, error logs and service map to detect and explain problems.
Connect Datadog and Rocketgraph reads request counts, errors and latency for every APM service, plus the error logs of a service that alerts.
Connect
- Open Connect and click Datadog under Observability.
- Site: the domain you sign in at, without
app.in front. For exampledatadoghq.com,us3.datadoghq.comordatadoghq.eu. Fill this in first, so the buttons below open the right site. - API key: in Datadog, open Organization Settings → API Keys and create a key. The Open Datadog API keys button takes you there.
- Application key: on the same page, open Application Keys and create one. Read access to metrics, logs and APM is enough. The Open Datadog application keys button takes you there.
- Click Connect Datadog. Rocketgraph checks both keys before it saves anything.
An application key has the permissions of the user who made it. If you can, scope it to timeseries_query, logs_read_data and apm_read.
What Rocketgraph reads
All calls are reads.
GET /api/v1/validateto check the API key.GET /api/v1/queryfor three APM metrics, grouped byservice, in one request each:trace.http.request.hitstrace.http.request.errorstrace.http.request.duration(p95)POST /api/v2/logs/events/searchandPOST /api/v2/logs/analytics/aggregatefor log lines. For a service that alerts, Rocketgraph reads its error and warning lines and groups them into patterns itself.GET /api/v1/service_dependenciesfor the APM service map.
Known limits
- Services come from APM. A metrics-only account with no
trace.http.request.*metrics will connect but show no services. - The service map is read for the
prodenvironment. - Rocketgraph reads from one observability backend at a time. Connecting Datadog replaces the one you had.
Disconnect
There is no disconnect button for an observability backend. Connecting a different one replaces Datadog. To cut off access, revoke the application key and API key in Datadog.