get_prometheus_series
Retrieve Prometheus time series data by specifying label matchers, datasource, and time range for metrics analysis and monitoring.
Instructions
Find series matching label matchers 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>",
"match": "<match>"
},
"name": "get_prometheus_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datasourceUid | Yes | The Prometheus datasource UID | |
| match | Yes | Series selector as label matchers (e.g., ["{job=\"prometheus\"}"]) | |
| start | No | Start time (RFC3339 or Unix timestamp) | |
| end | No | End time (RFC3339 or Unix timestamp) |