Commit Graph

8 Commits

Author SHA1 Message Date
Andrej Ocenas
ba2332eb96 Prometheus: bool bin op improvements (#47198)
* Change param order

* Align tooltip icon styling
2022-04-01 17:51:50 +02:00
Andrej Ocenas
ee87ed3b51 Prometheus: Parsing for vector matching and UI changes (#46668) 2022-03-17 10:50:49 +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
Stephanie Closson
abe32b9521 Implement PromQL Functions in new query editor (#45431)
* adding functions for prometheus queries

* WIP: functions added. Just categorizing them and testing each function out

* WIP: testing functions

* WIP verifying other functions

* Functions added and classified

* added tests

* moved bottomk to aggregations module

* added tests to the PromQueryModeller

* code review comments. Made range renderer common with code

* removed duplicate functions

* updated comments
2022-02-17 12:39:41 -04:00
Torkel Ödegaard
52ae586452 Prometheus: Improvements to binary operations, nesting and parantheses handling (#45384)
* Prometheus: Improve query nesting ux

* Prometheus: Add parentheses around nested queries with binary ops

* removed unnessary typing change

* Fixing ts issues

* Improved paranthesis logic

* Fixing unit test

* Progress
2022-02-15 21:05:35 +01:00
Torkel Ödegaard
68eb18c758 Prometheus: Support with aggregations without labels (#45160) 2022-02-10 11:48:48 +01:00
Torkel Ödegaard
f92ab9bc72 Prometheus: Adds missing options to the new query builder (#44915)
* Prometheus: Query builder legend format, first working state

* Added format option

* Working options section

* Wrapping stuff up removing old stuff

* Fixed ts issues

* Review fixes

* Added unit tests for preview toggle
2022-02-07 13:32:36 +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