prom_range
Execute a PromQL range query to retrieve time-series data between specified start and end timestamps, with a defined step interval, using Prometheus MCP Server.
Instructions
Execute a PromQL range query
Input Schema
Name | Required | Description | Default |
---|---|---|---|
end | Yes | End timestamp | |
includes | No | Metric properties to include in response (optional) | |
query | Yes | PromQL query expression | |
start | Yes | Start timestamp | |
step | Yes | Step interval (e.g., "15s", "1m") |
Input Schema (JSON Schema)
{
"properties": {
"end": {
"description": "End timestamp",
"type": "string"
},
"includes": {
"description": "Metric properties to include in response (optional)",
"items": {
"type": "string"
},
"type": "array"
},
"query": {
"description": "PromQL query expression",
"type": "string"
},
"start": {
"description": "Start timestamp",
"type": "string"
},
"step": {
"description": "Step interval (e.g., \"15s\", \"1m\")",
"type": "string"
}
},
"required": [
"query",
"start",
"end",
"step"
],
"type": "object"
}