grafana/pkg/tsdb/interval
Ben Sully b7ea66b00d
Datasource: Use intervalMs field of query model in GetIntervalFrom if interval field is not set (#34270)
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.
2021-05-26 11:45:11 +02:00
..
interval_test.go Datasource: Use intervalMs field of query model in GetIntervalFrom if interval field is not set (#34270) 2021-05-26 11:45:11 +02:00
interval.go Datasource: Use intervalMs field of query model in GetIntervalFrom if interval field is not set (#34270) 2021-05-26 11:45:11 +02:00