Commit Graph

28 Commits (782b93833449149b834506ea99924c4af5010a79)

Author SHA1 Message Date
Poyzan 6d66ea382c
[Fix] OR statements not being evaluated as part of nested line filters (#11735) 2 years ago
Karsten Jeschkies 3a7b5d246b
Serialize query AST to JSON. (#11123) 2 years ago
Travis Patterson 12221f43b5
Put unescaped regexes in a raw string literal (#10331) 2 years ago
Kaviraj Kanagaraj 416320dc5f
Revert "Stopped String() from doubly escaping regex characters" (#10318) 2 years ago
Owen Diehl f53498c4aa
allows filter-only matchers in series endpoint (#10269) 2 years ago
akhilanarayanan 4013c1f8b5
Stopped String() from doubly escaping regex characters (#10277) 2 years ago
Ashwanth f9fc1df4c0
logfmt: add --strict flag to enable strict parsing, perform nostrict parsing by default (#9626) 3 years ago
Travis Patterson fd0efe0799
Regex line/label filters return original regex when `String` is called (#9584) 3 years ago
Bryan Boreham 0a2f58891c
logql tests: use abstractions over Labels (#9533) 3 years ago
Michel Hollands 478510a1bb
Fix Grouping String function and usage so it prints "without ()" (#9515) 3 years ago
Peter Štibraný 90a1d4593e
Update Prometheus dependency (#9205) 3 years ago
Ramon Cuñat 4c4f3adbf1
logql: handle negative offset (#7545) 3 years ago
Travis Patterson 5a08a6bcb9
Label selector optimizations (#8763) 3 years ago
Travis Patterson 83ba93c867
fix to-string for noop label filters (#8799) 3 years ago
Christian Haudum d4a6b159fa
chore: Cleanup label extraction expression (#8596) 3 years ago
Bayan Taani 68a9fd6c0a
Add logfmt selective label extraction (#6675) 3 years ago
Owen Diehl 7871ddd12b
More precise sharding logic for `on|ignoring` (#8461) 3 years ago
Christian Haudum 96d5227532
Fix parsing of vector expression (#8448) 3 years ago
Max Vorobev c5911d5342
Loki: implement decolorize filter (#7602) 3 years ago
Owen Diehl eaa0919e53
Use labelbuilder in syntax.ParseLabels to remove empty label values (#7355) 3 years ago
李国忠 3296c6dbe8
[new feature] logql engine support exec `vector(0)` grama (#7023) 3 years ago
Mathew Heard 771e218b58
JSON label extraction field validation expression overly strict (#6372) 4 years ago
Cyril Tovena 7e53381eee
Avoid line copy during LogQL line_format (#6104) 4 years ago
Bayan Taani 50ef4f2ebd
Add duration filter unit test (#6271) 4 years ago
Aditya C S c6af640798
feat: support simple selection of labels in json expr parser (#6151) 4 years ago
Owen Diehl 93de7a7061
renames skip -> ok in ProcessString (#6064) 4 years ago
Travis Patterson 5939d5e9d8
Query filtering in the ingester and storage (#5629) 4 years ago
Cyril Tovena 79f0e349f5
Refactor LogQL syntax into its own package (#5539) 4 years ago
Marco Pracucci c53457feb9
Upgrade Cortex, Prometheus and Thanos (#4830) 4 years ago
Kaviraj 1e0386e9e6
Fix `ip` matcher lexer to differentiate filter from identifier (#4598) 4 years ago
lingpeng0314 76e2a14029
add group_{left,right} to LogQL (#4510) 4 years ago
Garrett a046d79261
make LogQL syntax scope from private to public (#4446) 4 years ago
Garrett 4417340089
add on and ignoring clauses in binOpExpr (#4391) 4 years ago
Kaviraj bfb24e6a4c
Ip matcher for LogQL (#3986) 4 years ago
Periklis Tsirakidis cb337c3b71
Add LogQL AST walker (#3991) 4 years ago
Cyril Tovena 59bb6d3fba
LogQL: Pattern Parser (#3837) 5 years ago
Ed Welch 6e67d1ea5d
Loki/Promtail: Client Refactor (#3623) 5 years ago
Cyril Tovena eff4ff1231
Improve matchers validations. (#3564) 5 years ago
Sandeep Sukhani b152bc2cf3
check for stream selectors to have atleast one equality matcher (#3216) 5 years ago
Garrett f70c7ea0bc
Implement offset modifier for range vector aggregation in LogQL (#3455) 5 years ago
Cyril Tovena e29d53631e
Fixes out-of-memory fuzzing issue. (#3469) 5 years ago
Cyril Tovena 7886f35b8f
Introduce a unpack parser. (#3420) 5 years ago
Danny Kopping feb7fb470b
LogQL: Simple JSON expressions (#3280) 5 years ago
Danny Kopping fcabfec470
Implementing line comments (#3126) 5 years ago
Cyril Tovena 6d85c7c212
Add absent_over_time (#3053) 5 years ago
Cyril Tovena 3f0800dc44
Add function label_replace. (#3047) 5 years ago
Cyril Tovena 2406ea72bc
Allows by/without to be empty and available for max/min_over_time (#3030) 5 years ago
Cyril Tovena 61ba02e2c4
Limit series for metric queries. (#2903) 5 years ago
Cyril Tovena 049c7acc12
Improve logql parser allocations. (#2927) 5 years ago
Cyril Tovena 53f4aa4ac3
Labels computation LogQLv2 (#2875) 5 years ago