fecf4c41ad
Dashboard: Spelling corrections in end-user visible dialogs ( #53340 )
2022-08-09 10:19:30 +02:00
7cf2b68e0a
Loki: Remove hardcoded values for LokiOperationId ( #53168 )
2022-08-03 12:50:43 +02:00
77421907b7
Loki: Add support for IP label and line filter in query builder ( #52658 )
...
* Add support for IP line filter
* Add support for IP label filter
* Updates for Explain mode
* Update test
* Remove invalid options in LabelFilterIpMatches
2022-07-25 15:16:04 +02:00
53b8e528fc
Loki: Add unwrap with conversion function to builder ( #52639 )
...
* Loki: Add unwrap with conversion operator to builder
* Update explain section
* Update test
2022-07-25 12:51:28 +02:00
772b6396f5
Loki: Add hints for level-like labels ( #52414 )
...
* Loki: Add hint for level-like label
* Add test to addToQuery
* Add tests
* Update tests
* Update copy
* Get log position in metrics query and add test
* Update
2022-07-22 16:59:25 +02:00
2090534635
Loki: Support json parser with expressions in query builder ( #51965 )
...
* Loki: Support json parser with expressions in query builder
* Add explain docs for json parser
2022-07-12 15:42:01 +02:00
803473f479
Chore: Enable useUnknownInCatchVariables
for stricter type checking in catch blocks ( #50591 )
...
* wrap a bunch of errors
* wrap more things!
* fix up some unit tests
* wrap more errors
* tiny bit of tidy up
2022-06-15 08:59:29 +01:00
88279dda1c
Loki: Fix issues with using query patterns ( #50414 )
...
* WIP
* Loki: Fix running of query patterns
* Remove console.log
* Add test
* Update empty line filter test
2022-06-11 21:36:44 +02:00
745b101d41
Loki: Fix unwrap parsing ( #49732 )
2022-05-27 14:00:51 +02:00
3c6e0e8ef8
Chore: ESlint import order ( #44959 )
...
* Add and configure eslint-plugin-import
* Fix the lint:ts npm command
* Autofix + prettier all the files
* Manually fix remaining files
* Move jquery code in jest-setup to external file to safely reorder imports
* Resolve issue caused by circular dependencies within Prometheus
* Update .betterer.results
* Fix missing // @ts-ignore
* ignore iconBundle.ts
* Fix missing // @ts-ignore
2022-04-22 14:33:13 +01:00
caa82a124d
Loki,Prometheus: Fix of showing error message for empty query ( #47379 )
...
* Loki,Prometheus: Dont show error on empty query
* Add tests
2022-04-06 11:17:49 +02:00
6938d5b975
Loki: Show error when parsing nodes not supported in visual query builder ( #47321 )
...
* Show error when parsing nodes not supported in visual query builder
* Refactor, simplify
* Spell fix
* Spell fix
2022-04-05 17:07:13 +02:00
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
4c6d2ce618
Loki: Parse query with unwrap ( #47282 )
...
* Loki: Parse simple unwrap
* Update public/app/plugins/datasource/loki/querybuilder/parsing.ts
* Simplify
2022-04-04 18:44:23 +02:00
24cf70dd29
Loki: Add parsing for vector aggregations with grouping ( #47257 )
...
* Parse aggregations with grouping
* Move getByType to shared parsing utils
2022-04-04 18:11:15 +02:00
1110666b6b
Loki: Fix parsing chained and scalar binary queries ( #47132 )
...
* Fix bin parsing for more cases
* Add test for some utils
* Removing console.log
* Simplify some code and fix typing
* Rename function
2022-04-01 18:33:09 +02:00
554492ec4e
Loki: Add parsing of query to visual query ( #46700 )
...
* Create parser
* Add parsing
* Update comment
* Remove operations that we don't support
* Resolve type errors
* Update test
* Handle backticks
* Handle backticks
* Remove copied test, update test
* Parsing for binary operations
* Remove error about setting state after unmount
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
2022-03-31 10:51:49 +02:00