find_series
Retrieve time series matching a Prometheus label selector, with optional start and end times, to identify available metrics for queries.
Instructions
Find time series matching a label selector
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": {
"match": "<match>"
},
"name": "find_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End time for the search | |
| match | Yes | Series selector (e.g., 'up{job="prometheus"}', '{__name__=~"http_.*"}') | |
| start | No | Start time for the search |