Commit Graph

44 Commits (2b422dafa9b76632397ebfe6984148777add6ce8)

Author SHA1 Message Date
Vladyslav Diachenko 08b1a9080b
fix(logql): updated JSONExpressionParser not to unescape extracted values if it is JSON object. (#14499) 7 months ago
Trevor Whitney b5462b6639
chore: remove copied loop vars (#14383) 8 months ago
Christian Haudum 833bf0def6
fix(logql): Fix panic in json parsing when using empty array index (#14393) 8 months ago
Ravishankar 55e374e85e
fix: skipping label if it contains special symbol (#14068) 9 months ago
Ned Andreev 5ef83a741b
fix: panic when parsing and extracting JSON key values (#13790) 10 months ago
Ed Welch 4c88be0ef2
chore: update loki modules for 3.0 release (#12433) 1 year ago
Paul Rogers 472496feb7
Parse JSON String arrays properly so string elements can be retrieved (#11921) 1 year ago
Trevor Whitney 96839fadd1
fix: remove shared state noParserHints to avoid data race (#11685) 1 year ago
Salva Corts 52a3f16039
Flag categorize labels on streams response (#10419) 2 years ago
Ashwanth f9fc1df4c0
logfmt: add --strict flag to enable strict parsing, perform nostrict parsing by default (#9626) 2 years ago
Trevor Whitney 4a56445686
Upgrade `golangci-lint` and fix linting errors (#9601) 2 years ago
Bryan Boreham ee74fbdf3a
logql/log tests: use abstractions over labels (#9532) 2 years ago
Travis Patterson 48ad068ce1
fix json expression parser (#9410) 2 years ago
Travis Patterson 7735b1e98e
Sanitize label keys in the unpack parser (#9121) 2 years ago
Travis Patterson 163fd9d8af
Short circuit parsing when label matchers are present (#8890) 2 years ago
Travis Patterson 9d20bed26a
Short circuit parsers (#8724) 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
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
Christian Haudum d4a6b159fa
chore: Cleanup label extraction expression (#8596) 2 years ago
Bayan Taani 68a9fd6c0a
Add logfmt selective label extraction (#6675) 2 years ago
Cyril Tovena 2861c0036f
Improve the JSON parser performance. (#7723) 2 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 67e7285bf5
Improve labels computation during LogQL pipeline (#6110) 3 years ago
Vladyslav Diachenko ea37f4595d
added upgrade notes (#5311) 3 years ago
Marco Pracucci c53457feb9
Upgrade Cortex, Prometheus and Thanos (#4830) 4 years ago
Jarrod Funnell 267107b75e
Parser: Allow literal control chars in logfmt decoder (#3932) 4 years ago
Cyril Tovena e9c0687c15
Reject labels with invalid runes when using implicit extraction parser. (#3983) 4 years ago
Cyril Tovena 59bb6d3fba
LogQL: Pattern Parser (#3837) 4 years ago
Ed Welch 6e67d1ea5d
Loki/Promtail: Client Refactor (#3623) 4 years ago
Cyril Tovena 6148794b9b
Fixes a bug where unpack would mutate log line. (#3502) 4 years ago
Ed Welch 6d48fb6942
change ReadStringAsSlice to ReadString so it doesn't parse quotes inside the packed _entry (#3432) 4 years ago
Cyril Tovena 32d668ceb0
Only unpack entry if the key `_entry` exist. (#3426) 4 years ago
Cyril Tovena 7886f35b8f
Introduce a unpack parser. (#3420) 4 years ago
Danny Kopping feb7fb470b
LogQL: Simple JSON expressions (#3280) 4 years ago
Cyril Tovena e8cce09de2
Fix a bug with metric queries and label_format. (#3263) 4 years ago
Cyril Tovena 7682f133b6
Improve JSON parser and add labels parser hints. (#3080) 4 years ago
Cyril Tovena 53f4aa4ac3
Labels computation LogQLv2 (#2875) 5 years ago
Cyril Tovena dd5fceb348
Logqv2 optimization (#2778) 5 years ago
Cyril Tovena fd5cb96693
LogQL: Labels and Metrics Extraction (#2769) 5 years ago