Get a span-based metric
One step with Datadog. We can help you get access.
Look something up
Get a span-based metric
with Datadog
Works with AI assistants
Use Datadog: its Datadog Get API lets you get a span-based metric in a single step (GET /api/v2/apm/config/metrics/{metric_id}). Datadog also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- What filter and aggregation does one of my span-based metrics use?
- Can I inspect how a metric generated from APM spans is defined?
Say it to your AI assistant
- Get the span-based metric {metric_id}.
- Show me the definition of span metric {metric_id}.
For your developer
GET /api/v2/apm/config/metrics/{metric_id} in Datadog Get API. Full spec on APIs.io.