Open
Description
I'm experiencing issue when calling query_prometheus
tool
Parameters:
{
"datasourceUid": "source_a",
"expr": "rate(transaction_count[2m])",
"queryType": "range",
"startRfc3339": "2025-03-14T11:22:35Z",
"endRfc3339": "2025-03-14T11:52:35Z",
"stepSeconds": 30
}
Result:
{"error":"MCP error -32603: querying Prometheus range: bad_response: readObjectStart: expect { or n, but found c, error found in #1 byte of ...|cannot pars|..., bigger context ...|cannot parse \"\" to a valid timestamp|..."}
Is that related to timestamp format? I have tested the query directly in Grafana explorer and it's working fine. What's possibly wrong with the prompt?
Metadata
Metadata
Assignees
Labels
No labels