list_active_metrics
List metrics with recent data since a given time. Filter by host or tags to see what's actively reporting, excluding stale metrics.
Instructions
List metrics that have reported data since a given time.
Use this when: you want to know what's actually emitting data recently, as opposed to list_available_metrics which lists every metric name Datadog knows about (including ones that stopped reporting long ago).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_active_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Optional hostname filter | |
| since | No | Only include metrics with data since this time - Unix timestamp (seconds), relative date math (e.g. "now-1h"), or an ISO 8601 datetime string (default: "now-1h") | now-1h |
| tag_filter | No | Optional tag filter (e.g. "env:prod") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||