Commit Graph

115 Commits (7cbfdb5d6d5f6bb7fd6cc97d3f63cfb2997bfed6)

Author SHA1 Message Date
Ashwanth f9fc1df4c0
logfmt: add --strict flag to enable strict parsing, perform nostrict parsing by default (#9626) 2 years ago
Salva Corts 61d407b4bb
Add keep stage to LogQL (#9693) 2 years ago
Michel Hollands 79485cd30d
Add handling of timezones in unixToTime tests (#9707) 2 years ago
Trevor Whitney 4a56445686
Upgrade `golangci-lint` and fix linting errors (#9601) 2 years ago
Travis Patterson 065bee7e72
Label Volume Endpoint (#9588) 2 years ago
Michel Hollands 22779e13c5
Fix date template function with epoch times (#8886) 2 years ago
Gregor Zeitlinger b1917a6178
add "alignLeft" and "alignRight" functions (#9672) 2 years ago
Travis Patterson fd0efe0799
Regex line/label filters return original regex when `String` is called (#9584) 2 years ago
Bryan Boreham ee74fbdf3a
logql/log tests: use abstractions over labels (#9532) 2 years ago
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