execute_query
Run instant PromQL queries to retrieve metrics data from Prometheus, enabling quick analysis and monitoring of system performance via the MCP server interface.
Instructions
Execute a PromQL instant query against Prometheus
Input Schema
Name | Required | Description | Default |
---|---|---|---|
query | Yes | ||
time | No |
Input Schema (JSON Schema)
{
"properties": {
"query": {
"title": "Query",
"type": "string"
},
"time": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Time"
}
},
"required": [
"query"
],
"title": "execute_queryArguments",
"type": "object"
}