grafana/public/app/plugins/datasource
Gareth Dawson 9def0d2305
Loki: Fix timerange for query stats request (#72193)
* call query stats with whole query

* call stats when query type changes

* fix stats request timerange

* feedback: extract functions from component

* feedback: remove "or string" types

* feedback: use ds timerange picker end

* partial: fix broken test

* changes

* update test comment

* rename variable

* add comment explain message prop

* make getStatsTimeRange a datasource method

* update tests for getStatsTimeRange

* make getStats a datasource method

* update failing tests

* update failing tests

* remove import

* Update public/app/plugins/datasource/loki/datasource.test.ts

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

---------

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2023-09-20 16:47:21 +01:00
..
alertmanager GLDS: Move Text component from the unstable package to grafana-ui (#72660) 2023-08-02 14:58:00 +02:00
azuremonitor AzureMonitor: Improve Log Analytics query efficiency (#74675) 2023-09-18 18:38:39 +01:00
cloud-monitoring CloudMonitoring: Use EditorField components (#75102) 2023-09-19 14:53:20 +01:00
cloudwatch QueryRunners: Bind the query function where it is passed on (#73399) 2023-09-18 17:00:43 +02:00
dashboard DS Picker: Use new built-in DS icons (#69797) 2023-06-14 12:36:21 +03:00
elasticsearch Elasticsearch query editor: ensure unique ids on labelled fields (#74396) 2023-09-06 10:17:11 +02:00
grafana Chore: friday typings 5 (#73844) 2023-08-29 09:14:15 +01:00
grafana-pyroscope-datasource Pyroscope: Remove "phlare" from variable, types, strings etc (#75140) 2023-09-20 16:31:22 +02:00
graphite Chore: friday typings 5 (#73844) 2023-08-29 09:14:15 +01:00
influxdb InfluxDB: Fix applying ad-hoc filters when querying with backend mode (#74973) 2023-09-19 16:23:01 +02:00
jaeger passing time filters (#64086) 2023-07-31 16:13:48 +01:00
loki Loki: Fix timerange for query stats request (#72193) 2023-09-20 16:47:21 +01:00
mixed DS Picker: Use new built-in DS icons (#69797) 2023-06-14 12:36:21 +03:00
mssql sql: do not use the getTimeSrv call (#74800) 2023-09-18 10:39:05 +02:00
mysql MySQL: Update configuration page styling (#74902) 2023-09-18 15:02:55 +01:00
opentsdb PublicDashboards: Variables refactor (#73476) 2023-08-25 13:56:02 -05:00
parca Chore: Replace deprecated usage of shape.borderRadius() (#72672) 2023-08-01 14:46:07 +01:00
postgres sql: do not use the getTimeSrv call (#74800) 2023-09-18 10:39:05 +02:00
prometheus Loki: Fix timerange for query stats request (#72193) 2023-09-20 16:47:21 +01:00
tempo Use const assertion instead of type assertion (#75165) 2023-09-20 17:31:09 +03:00
testdata DashboardScene: Meta data tab (#74810) 2023-09-18 09:00:59 +02:00
zipkin Tracing: Move upload trace to button (#69402) 2023-06-23 12:03:00 +01:00