Torkel Ödegaard
feaa4a5c64
Loki: Support binary operations and nested queries in new builder ( #47012 )
...
* Binary ops support
* Add support for nested expressions in loki
* Nested queries working
* Fixing tests
* Share more code between loki and prometheus query modellers
2022-03-29 18:50:07 +02:00
Torkel Ödegaard
5f9cd7b875
Loki: Add aggregate by label support ( #46965 )
...
* Loki: Add aggregate by label support
* Label lookups now work for loki
* Fixed ts issue
* review comment fixed
2022-03-29 17:49:21 +02:00
Torkel Ödegaard
1c648cb52c
Loki: Adds options to the new query builder ( #46783 )
...
* Initial commit for loki builder options
* Loki query options
* Added some basic tests
* Update public/app/plugins/datasource/loki/querybuilder/components/LokiQueryBuilderOptions.test.tsx
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* Updated options
* All option changes should trigger query
* Fixed ts issue
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2022-03-25 13:13:55 +01:00
Ivana Huckova
7839fadf00
Loki: Fix fetching of second label set for the streams selector ( #46898 )
...
* Fix fetching of labels
* Add test
2022-03-23 17:59:48 +00:00
Torkel Ödegaard
3b487c2661
Loki: Initial loki builder tests ( #46076 )
2022-03-03 14:30:17 +01:00
Ivana Huckova
c23bc1e7b7
Prometheus: Show variable options in query builder ( #44784 )
...
* Prometheus: Show variable options
* Remove lint error
* Fix test for CodeQL
* Update public/app/plugins/datasource/prometheus/datasource.ts
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
* Update public/app/plugins/datasource/loki/datasource.ts
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
2022-02-03 11:40:19 +01:00
Torkel Ödegaard
fb680b3575
Loki: Query builder, hook up instant toggle and improve inline switch ( #44704 )
2022-02-01 13:56:11 +01:00
Torkel Ödegaard
64e1e91403
PromQueryBuilder: Query builder and components that can be shared with a loki query builder and others ( #42854 )
2022-01-31 06:57:14 +00:00