list_prometheus_metric_metadata
Retrieve metadata for Prometheus metrics scraped from monitoring targets. Use this tool to explore available metrics, their types, and labels for a specified Grafana datasource.
Instructions
List Prometheus metric metadata. Returns metadata about metrics currently scraped from targets.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
datasourceUid | Yes | The UID of the datasource to query | |
limit | No | The maximum number of metrics to return | |
limitPerMetric | No | The maximum number of metrics to return per metric | |
metric | No | The metric to query |
Input Schema (JSON Schema)
{
"properties": {
"datasourceUid": {
"description": "The UID of the datasource to query",
"type": "string"
},
"limit": {
"description": "The maximum number of metrics to return",
"type": "number"
},
"limitPerMetric": {
"description": "The maximum number of metrics to return per metric",
"type": "number"
},
"metric": {
"description": "The metric to query",
"type": "string"
}
},
"required": [
"datasourceUid"
],
"type": "object"
}