prometheus_query_range
Execute a Prometheus range query to retrieve metrics within a specified time range, with defined start, end timestamps, and step resolution for monitoring and analysis.
Instructions
Execute a Prometheus range query
Input Schema
Name | Required | Description | Default |
---|---|---|---|
end | Yes | end timestamp (RFC3339 or unix timestamp) | |
query | Yes | prometheus query expression | |
start | Yes | start timestamp (RFC3339 or unix timestamp) | |
step | Yes | query resolution step width |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"end": {
"description": "end timestamp (RFC3339 or unix timestamp)",
"type": "string"
},
"query": {
"description": "prometheus query expression",
"type": "string"
},
"start": {
"description": "start timestamp (RFC3339 or unix timestamp)",
"type": "string"
},
"step": {
"description": "query resolution step width",
"type": "string"
}
},
"required": [
"query",
"start",
"end",
"step"
],
"type": "object"
}