list_prometheus_label_values
Retrieve available values for a specific Prometheus label, with options to filter by series selectors and time range for precise monitoring data analysis.
Instructions
Get the values for a specific label name in Prometheus. Allows filtering by series selectors and time range.
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>",
"labelName": "<labelName>"
},
"name": "list_prometheus_label_values"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datasourceUid | Yes | The UID of the datasource to query | |
| endRfc3339 | No | The end time of the query | |
| labelName | Yes | The name of the label to query | |
| limit | No | Maximum number of results | |
| matches | No | Selectors to filter the results | |
| startRfc3339 | No | The start time of the query |