mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 04:59:15 -06:00
b7ea66b00d
The /api/ds/query and /api/tsdb/query endpoints extract the intervalMs field from each query in the request, but it currently seems to be ignored, at least for queries to a Prometheus datasource. This changes GetIntervalFrom function to check for the presence of intervalMs in the query model if interval is missing. |
||
---|---|---|
.. | ||
interval_test.go | ||
interval.go |