5206 Commits

Author SHA1 Message Date
George Robinson
6cf495f646 chore: rename flushManager to flushCommitter to prepare for future changes (#21135) 2026-03-12 11:12:45 +00:00
George Robinson
8a68101b3b feat: add builder pool to logsobj package (#21134) 2026-03-12 11:12:35 +00:00
Salva Corts
a4de7ad732 refactor: Move batching to pipeline wrapper (#21123) 2026-03-11 16:28:34 +01:00
Shantanu Alshi
9c2c0633f0 chore: Improve level detection and best guess capability (#21132) 2026-03-11 20:53:31 +05:30
George Robinson
c6c3fb6739 chore: remove consumer package, no longer used (#21083) 2026-03-11 09:10:28 -04:00
Assel Meher
a7c75a6007 feat(loki-query-engine): instrument query-engine with runtime/trace (#21000) 2026-03-10 09:38:36 +00:00
Trevor Whitney
e569e10eec chore(bench): introduce metadata discovery tool (#21085) 2026-03-09 17:32:57 +00:00
Dylan Guedes
616ec8d6f1 fix(goldfish): Normalize goldfish response (#21114) 2026-03-09 13:32:43 -03:00
Ivan Kalita
1242aa5547 feat(loki): allow disabling cache for query_range requests (#21112)
Allows disabling results cache via Cache-Control headers for query_range requests (the same way it's done for instant queries).
2026-03-09 14:19:16 +01:00
George Robinson
66f983286e chore: use package private names for these types and funcs (#21111) 2026-03-09 11:43:13 +00:00
Salva Corts
6ef3827d1f feat: Add results cache to thor query engine (#20986) 2026-03-09 10:16:49 +01:00
Paul Rogers
4c645c6161 fix: allow blocking multiple query hashes (#21103) 2026-03-08 15:37:00 -04:00
Paul Rogers
48167d00eb test: fixup related to entry iterator (#21070) 2026-03-06 16:41:39 -05:00
Paul Rogers
6717a46b92 chore: fix non-deterministic aggregator function (#21088) 2026-03-06 16:41:21 -05:00
Paul Rogers
d631e25a4d chore(test): fix flaky kafka test (#21089) 2026-03-06 16:40:57 -05:00
Ivan Kalita
26d903163b fix(goldfish): support nulls in mismatch_cause (#21082)
mismatch_cause can be NULL, in this case goldfish ui API (e.g., /ui/api/v1/goldfish/queries) will return {"error":"failed to retrieve sampled queries"} due to a failure of converting NULL to string value.
2026-03-06 12:26:28 +01:00
Brian Glogower
28919190b1 fix: prevent goroutine leak in downstreamer on context cancellation (#21062)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 15:29:40 -05:00
Dylan Guedes
ba119f659a feat: Add config to delegate stream limits check to limits-service only (#21007) 2026-03-05 11:40:55 -03:00
Robert Fratto
8ab15f1e8a chore(engine): ignore closed sources on bind (#20979) 2026-03-04 14:53:50 +00:00
Dylan Guedes
e95137aa81 feat(engine): Dedupe entries when building final result (#21034) 2026-03-04 12:58:14 +00:00
Sandeep Sukhani
77909d1636 chore: while comparing log streams from query-tee, treat logs with same timestamp but different content ordered differently as a match (#21043) 2026-03-04 18:01:59 +05:30
Stas Spiridonov
60a15670dd fix: duplicate lines with different structured metadata (#21039)
Co-authored-by: shantanualshi <shantanu.alshi@grafana.com>
2026-03-04 06:19:08 +00:00
renovate-sh-app[bot]
444e6b0231 fix(deps): update module github.com/charmbracelet/bubbles to v2 (main) (#21005)
Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
Co-authored-by: DylanGuedes <djmgguedes@gmail.com>
2026-03-02 15:32:39 -03:00
Dylan Guedes
a8814578cf fix(query-scheduler): Only do alignment for metric queries (#21030) 2026-03-02 11:58:40 -03:00
Dylan Guedes
7a5ef78c04 fix(querytee): Compare parsed labels instead of structured metadata (#21018) 2026-03-02 07:36:43 -03:00
Stas Spiridonov
b2d98d676c fix(thor): Return empty log lines properly for the new engine (#20971) 2026-02-27 15:20:10 +01:00
Dylan Guedes
8e18f108d6 feat: Align start time when the query is received (#20967) 2026-02-26 17:46:46 -03:00
Paul Rogers
57d1368e17 chore(build): Tweaks to support golangci-lint 2.10.1 (#20985) 2026-02-26 11:56:42 -05:00
Ivan Kalita
1b357f8c42 chore(loki): add more http2 errors (#20984)
A followup on #20982 to handle more http2 errors.
2026-02-26 17:14:08 +01:00
Robert Fratto
1f7cacfb27 fix(engine): fix additional instances of writing/reading on a closed conn (#20982) 2026-02-26 10:33:38 -05:00
Sandeep Sukhani
20aaeb8ebc chore: query tee comparator telemetry improvements (#20849) 2026-02-26 13:39:57 +05:30
Bryan Boreham
d94ee60883 perf(tsdb): don't fetch labels in TSDBIndex.GetChunkRefs (#20970)
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2026-02-25 15:21:21 -05:00
Bryan Boreham
6b58156938 perf(tsdb): return full slice to pool after use (#20969)
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2026-02-25 15:19:38 -05:00
Bryan Boreham
b162e1ef98 perf(logql): use simpler function to drop empty labels (#20938)
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2026-02-25 21:37:17 +05:30
Bryan Boreham
9c9660ad02 fix(logql): return error on way-too-long label string (#20937)
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2026-02-25 10:57:58 +00:00
Dylan Guedes
4eeb70c7ae feat(limits): Add emptiness check to prepare for multiAZ (#20927) 2026-02-24 18:11:48 -03:00
Stas Spiridonov
e768ea8d02 chore(thor): Parallel query engine correctness tests (#20811) 2026-02-24 16:03:33 -05:00
Robert Fratto
9546636275 chore(engine): don't observe task execution time if there's no assign time (#20956) 2026-02-24 19:59:00 +00:00
Paul Rogers
13c964d4b8 chore(test): Address deadlock in mempool test (#20955) 2026-02-24 14:56:35 -05:00
Salva Corts
f083618d65 feat: Batch records before writing to sinks (#20821) 2026-02-24 19:46:04 +00:00
Robert Fratto
fdc807e6df chore(dataobj): prefetch during open for rowReaderDownloader (#20942)
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
2026-02-24 14:33:03 -05:00
Robert Fratto
b8920125c5 chore(dataobj): add configurable prefetching (#20946)
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
2026-02-24 14:07:41 -05:00
Stas Spiridonov
987079d842 chore(thor): Disable admission lanes for non-log queries (#20947) 2026-02-24 13:51:28 -05:00
Stas Spiridonov
ded0b08f9f chore: add latency metric for objstore client (#20948) 2026-02-24 16:33:10 +00:00
Robert Fratto
b340795f25 chore(dataobj): add missing test for opening legacy object (#20943)
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
2026-02-24 09:59:52 -05:00
George Robinson
b6f8750279 chore: merge the responses from each backend in ring.go (#20877) 2026-02-24 13:56:57 +00:00
George Robinson
f8e2d64e50 feat: put kotel behind a flag (#20933) 2026-02-24 10:00:23 +00:00
Stas Spiridonov
32248ef0ba chore(thor): Performance optimization for aggregator (#20934) 2026-02-24 04:07:43 +00:00
John Newbigin
1bf3b788b0 fix(test): Ensure timestamp test works in all timezones (#20916) 2026-02-24 15:07:35 +11:00
Dylan Guedes
28d03ec88b fix(engine): align range-query evaluation timestamps to the step grid (#20904)
Aligns startTs to the nearest epoch-aligned step boundary, to replicate the same behavior we'd have with the old engine. I found this to cause a s`um by(x)(count_over_time({k="v"}[30m))` query to mismatch old vs the new engine.
2026-02-23 08:01:08 -03:00