Grafana API is not working with the query_range using start and end params #87436
Labels
needs more info
Issue needs more information, like query results, dashboard or panel json, grafana version etc
What happened?
I am building the curl commands to download the grafana report, while using the start and end time range in the query i am getting the error and not recognizing the start and end values. However the the same API call is working from POSTMAN.
Below is the API call:
curl -X GET '
https://FQDN/api/datasources/proxy/1/api/v1/query_range?query=sum%20%28rate%20%28container_cpu_usage_seconds_total{id=%22/%22,kubernetes_io_hostname=
%22^.%2A$%22}[60m]%29%29%20/%20sum%20%28machine_cpu_cores{kubernetes_io_hostname=%22^.%2A$%22}%29%20%2A%20100&start=1715045400&end=1715074200&step=3600'-H'Authorization: Basic xxxxxx'
The text was updated successfully, but these errors were encountered: