Commit Graph

12 Commits

Author SHA1 Message Date
Ivana Huckova
82aa31df36 Loki: Add missing functions to query builder (#47333) 2022-04-05 19:15:22 +02:00
Ivana Huckova
c5ac19d499 Loki: Add all supported parsers to query builder (#47304)
* Loki: Add all supported parsers to query builderr

* Update test

* Add tests for new parsers
2022-04-05 14:52:06 +02:00
Ivana Huckova
f8b9bf543b Loki: Replace auto with (#47283) 2022-04-04 18:43:37 +02:00
Ivana Huckova
5ba9ccb5a7 Loki: Add label_replace option to query builder (#47247)
* Add label_replace operation

* Update
2022-04-04 16:20:19 +02:00
Torkel Ödegaard
21fd9dd056 Loki: Adds line format operation (#47015) 2022-03-30 09:11:36 +02:00
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
76c9ad2d9b Loki: Improve operation ordering when adding new operations (#46598) 2022-03-23 07:42:25 +01:00
Torkel Ödegaard
c952c9c90a Loki: Adds more options to make line filter UX better (#46324)
* Loki: Adds more options to make line filter UX better

* Sync wording

* Tweak width

* More tweaks

* Added descriptions as well
2022-03-10 10:12:54 +01:00
Andrej Ocenas
6dea7275a6 Prometheus: Improved the function selector with search (#46084)
* Change to cascader with search

* Don't change to select on backspace

* Fix error on group select

* Simplify getOperationDef

* Set cascader wrapper to fixed width

* Add placeholder

* Fix tests and type errors

* Fix props for backward compatibility

* Add comments
2022-03-03 10:24:33 +01:00
Torkel Ödegaard
f7291ce270 Prometheus: Remove the auto range vector option (#45715)
* Prometheus: Remove auto range option

* Prometheus: Remove auto range option

* Overhaul of range vector operations and default param

* Make sure label is string
2022-02-25 11:18:08 +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