get_prometheus_metadata
Retrieve metadata for all metrics from a Prometheus datasource to understand available data and structure for monitoring and analysis.
Instructions
Get metadata for all metrics from a Prometheus datasource
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"datasourceUid": "<datasourceUid>"
},
"name": "get_prometheus_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datasourceUid | Yes | The Prometheus datasource UID | |
| limit | No | Limit the number of metrics returned |