Commit Graph

106 Commits (478510a1bbb73ca930622401e910138327aeae3d)

Author SHA1 Message Date
Nick Moore 2f87acd284
Fix case insensitive label filter (#9404) 2 years ago
Travis Patterson 48ad068ce1
fix json expression parser (#9410) 2 years ago
李国忠 38b298c3fe
LogQL: Introduce `distinct` (#8662) 2 years ago
Peter Štibraný 90a1d4593e
Update Prometheus dependency (#9205) 2 years ago
Travis Patterson 7735b1e98e
Sanitize label keys in the unpack parser (#9121) 2 years ago
Ed Welch edc6b0bff7
Loki: Add a limit for the [range] value on range queries (#8343) 2 years ago
Travis Patterson 163fd9d8af
Short circuit parsing when label matchers are present (#8890) 2 years ago
Karsten Jeschkies 94725e7908
Define `RequiredLabels` query limit. (#8851) 2 years ago
Travis Patterson 9d20bed26a
Short circuit parsers (#8724) 2 years ago
Travis Patterson 5a08a6bcb9
Label selector optimizations (#8763) 2 years ago
Ashwanth 7d2eeddfb8
LogQL: Fix panic when using `unpack` with empty line (#8853) 2 years ago
Ashwanth d08b87f799
json parser: fix panic when processing empty line (#8835) 2 years ago
Travis Patterson 37c0b3dec2
Allow math on errors (#8823) 2 years ago
Travis Patterson 83ba93c867
fix to-string for noop label filters (#8799) 2 years ago
Ed Welch 0352b75f0d
Loki: Add new logql template functions `bytes`, `duration`, `unixEpochMillis`, `unixEpochNanos`, `toDateInZone`, `b64Enc`, and `b64Dec` (#8774) 2 years ago
Danny Kopping e2ac2d50e2
Changes from linter (#8769) 2 years ago
Travis Patterson 9ac33e216e
Reimplement Unpack in terms of jsonparser rather than jsoniter (#8739) 2 years ago
Travis Patterson 9c6e509a6a
Reimplement JsonExpressionParser in terms of jsonparser (#8734) 2 years ago
Travis Patterson 7f42137584
Use Line Filters in StringLabelFilter (#8659) 2 years ago
Travis Patterson c42a0ba868
Optimize .+ regex line filter (#8646) 2 years ago
Christian Haudum d4a6b159fa
chore: Cleanup label extraction expression (#8596) 2 years ago
Bayan Taani 68a9fd6c0a
Add logfmt selective label extraction (#6675) 2 years ago
Tristan Morgan 2e11ff00eb
Replace deprecated inet.af/netaddr (#8560) 2 years ago
李国忠 322783e3d8
LogQL: [optimization] syntax: Replace "panic" in "/pkg/logql/syntax" with "error" (#7208) 2 years ago
Kaviraj Kanagaraj 807aa459d4
logql: Support `urlencode` and `urldecode` template functions (#8271) 2 years ago
Ed Welch c8760f31e2
Loki: Remove validation of matchers when performing label values lookup. (#8224) 2 years ago
Owen Diehl a7ea9c1422 Revert "fix(logql): remove __error_details__ label on drop __error__ or other way around" (#8200) 2 years ago
Aditya C S cf23194d05
fix(logql): remove __error_details__ label on drop __error__ or other way around (#8150) 2 years ago
Danny Kopping b9a9cdf2f7
Fixing test regression (#8130) 2 years ago
Cyril Tovena 2861c0036f
Improve the JSON parser performance. (#7723) 2 years ago
Aditya C S 8df5803d9a
feat(logql): Support drop labels in logql pipeline (#7975) 2 years ago
Aditya C S a08a7324f4
fix(logql): fix caseinsensitive search in filter (#8037) 2 years ago
Michel Hollands 59eff5ca58
Add count to template functions (#7951) 2 years ago
Max Vorobev c5911d5342
Loki: implement decolorize filter (#7602) 3 years ago
Robert Fratto 2208ea7147
Update Prometheus dependency to latest release (v2.39.1) (#7425) 3 years ago
Danny Kopping c3e92b876c
Restoring lint checks that were previously disabled (#7340) 3 years ago
Vladyslav Diachenko 615941234a
Logql Analyzer (#6171) 3 years ago
Ed Welch 6d54505485
Loki: add `__line__` and `__timestamp__` to label_format (#6983) 3 years ago
Christian Simon ee2fe6514d
Propagate error detail properly in all cases (#6890) 3 years ago
Kaviraj Kanagaraj 7b89f20378
fix(logql): Make `LabelSampleExtractor` work as expected when label doesn't exist in logline (#6766) 3 years ago
Ed Welch 1a75bb8e22
Loki: Return an __error_details__ label for any line which incurs a __error__ while being processed (#6543) 3 years ago
Ed Welch 33761194d9
Loki: Add the ability to use the log line timestamp in label and line formatter (#6517) 3 years ago
Cyril Tovena 8ee0d62d9e
Fixes bad initialization for uniqueString (#6432) 3 years ago
Jesus Vazquez db9dbe8e1d
Bump prometheus dependency (#6403) 3 years ago
Mathew Heard 771e218b58
JSON label extraction field validation expression overly strict (#6372) 3 years ago
Cyril Tovena 7e53381eee
Avoid line copy during LogQL line_format (#6104) 3 years ago
Cyril Tovena 67e7285bf5
Improve labels computation during LogQL pipeline (#6110) 3 years ago
Justin Burnham 97c7d7ca3c
LogQL: add the `default` sprig template function to logql label/line formatter (#6163) 3 years ago
Owen Diehl 93de7a7061
renames skip -> ok in ProcessString (#6064) 3 years ago
Cyril Tovena 986fe5cf05
Remove empty match within concat of regex (#6026) 3 years ago