get_prometheus_label_values
Retrieve all values for a specific label from Prometheus data sources to filter metrics and analyze monitoring data effectively.
Instructions
Get all values for a specific label 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>",
"label": "<label>"
},
"name": "get_prometheus_label_values"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datasourceUid | Yes | The Prometheus datasource UID | |
| label | Yes | The label name to get values for | |
| start | No | Start time (RFC3339 or Unix timestamp) | |
| end | No | End time (RFC3339 or Unix timestamp) |