Get Metric Metadata
get_metric_metadataRetrieve metadata (type, help, unit) for Prometheus metrics. Use optional filter to search metric names and descriptions, or get all metadata without specifying a metric.
Instructions
Get metadata (type, help, unit) for metrics. Returns all metric metadata when no metric name is provided. Use filter_pattern to search metric names and descriptions.
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": "get_metric_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | No | ||
| filter_pattern | No | ||
| limit | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |