grafana/public/app/plugins/datasource/loki/querybuilder
Gareth Dawson 0072b2cca4
Loki: Use better query validation before requesting stats (#70800)
* fix: use correct validate funtion

* rename isValidQuery to isQueryWithError

* lets pretend i didnt break things again

* Loki validation: add missing comments and refactor validation function

* isValidQuery: add unit test

* Loki datasource: add tests for getQueryStats

* Remove isValidQuery function

* UnwrapParamEditor: interpolate query before testing validity

* Stats: trim queries when evaluating change

---------

Co-authored-by: Matias Chomicki <matyax@gmail.com>
2023-06-29 16:50:17 +01:00
..
components Loki: Use better query validation before requesting stats (#70800) 2023-06-29 16:50:17 +01:00
binaryScalarOperations.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
LokiQueryModeller.test.ts Loki: Add support for IP label and line filter in query builder (#52658) 2022-07-25 15:16:04 +02:00
LokiQueryModeller.ts Loki: Add support for range aggregations with by grouping (#56184) 2022-10-05 11:32:33 +02:00
operations.test.ts Loki Monaco Editor: grab operator documentation from the operations module (#57525) 2022-10-26 15:44:44 +02:00
operations.ts Loki: Add support for distinct operation in autocomplete and query builder (#69003) 2023-05-25 14:22:16 +02:00
operationUtils.test.ts Loki: Display error with label filter conflicts (#63109) 2023-02-22 09:56:20 +00:00
operationUtils.ts Loki: Display error with label filter conflicts (#63109) 2023-02-22 09:56:20 +00:00
parsing.test.ts Loki: Fix parsing of escaped quotes in LogQL (#69584) 2023-06-06 11:07:21 +02:00
parsing.ts Logs: Add toggle behavior support for "filter for" and "filter out" label within Logs Details (#70091) 2023-06-26 16:45:33 +02:00
state.test.ts Loki: Fix types in querybuilder state test (#53223) 2022-08-03 15:59:33 +02:00
state.ts Chore: more type fixes (#62952) 2023-02-09 09:03:13 +00:00
types.ts Loki: Add support for distinct operation in autocomplete and query builder (#69003) 2023-05-25 14:22:16 +02:00