generate_prometheus_explore_url
Create Prometheus query URLs for Grafana Explore to analyze metrics with custom time ranges, refresh intervals, and step parameters.
Instructions
Generate an Explore URL for Prometheus queries with specific options
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>",
"query": "<query>"
},
"name": "generate_prometheus_explore_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datasourceUid | Yes | ||
| query | Yes | ||
| from | No | ||
| to | No | ||
| refresh | No | ||
| step | No | ||
| range | No |