github grafana/loki v3.2.0

latest releases: helm-loki-6.19.0-weekly.227, helm-loki-6.19.0, v3/pkg/logql/syntax/v0.0.1...
one month ago

3.2.0 (2024-09-18)

⚠ BREAKING CHANGES

  • api: Fail log queries when executed on instant query endpoint (#13421)
  • jsonnet: convert read statefulset into deployment for loki-simple-scalable (#13977)
  • blooms: Remove bloom compactor component (#13969)

Features

Bug Fixes

  • add a retry middleware to all the stats handlers (#13584) (7232795)
  • add logging to empty bloom (#13502) (c263a68)
  • add missing flush op timeout (#13679) (62c5c5c)
  • Adjust tailer loop criteria so it is actually re-tested (#13906) (dabbfd8)
  • ast left cycular reference result in oom (#13501) (6dd6b65)
  • blooms: Cleanup temp blockdir in bloom compactor (#13622) (64215e1)
  • blooms: Delete outdated metas during planning (#13363) (11e1976)
  • blooms: ensure tokenizer cache is reset between series (#13370) (04bc3a4)
  • blooms: Fix eviction of multiple blockcache items (#13573) (c9950e3)
  • blooms: Fix panic in bloom gateway (#13303) (66f97b2)
  • blooms: ignores bloom filtering errors in bounded shard query planning (#13285) (ede6941)
  • blooms: Improve error wrap to make ignoreNotFound work when fetching blocks (#13656) (bd20171)
  • blooms: improves mempool metrics (#13283) (d36e1d5)
  • blooms: Minor fixes and improvements for testing in dev (#13341) (d0f56ee)
  • blooms: Remove backoff from notify planner (#13506) (e506995)
  • blooms: Remove unused arg (#13343) (fcb9b28)
  • blooms: Ship chunkrefs in task payload (#13677) (450bbce)
  • blooms: skip empty blooms on reads (#13500) (bfa6955)
  • blooms: Suppress error from resolving server addresses for blocks (#13385) (3ac2317)
  • blooms: Use correct key to populate blockscache at startup (#13624) (2624a4b)
  • break: helm: Fix how we set imagePullSecrets for enterprise-gateway and admin-api. (#13761) (3be5a45)
  • ci: add cleanup step into job dist (#13801) (217f928)
  • ci: fixed release-please manifest (#13810) (f253db5)
  • cloud-mixin: Attribute OTLP route correctly to write path (#13943) (b91b782)
  • Dedup pattern tokens on output (#13534) (e23598d)
  • deps: update github.com/axiomhq/hyperloglog digest to af9851f (#13806) (67295e0)
  • deps: update github.com/c2h5oh/datasize digest to aa82cc1 (#13807) (a93f38c)
  • deps: update github.com/docker/go-plugins-helpers digest to 45e2431 (#13808) (e5a3994)
  • deps: update github.com/grafana/jsonparser digest to ea80629 (#13814) (d5718eb)
  • deps: update module github.com/aliyun/aliyun-oss-go-sdk to v2.2.10+incompatible (#13861) (6f79194)
  • deps: update module github.com/azure/go-autorest/autorest/adal to v0.9.24 (#13862) (8041bd2)
  • deps: update module github.com/azure/go-autorest/autorest/azure/auth to v0.5.13 (#13863) (71c4421)
  • deps: update module github.com/baidubce/bce-sdk-go to v0.9.186 (#13864) (3c0e3e2)
  • deps: update module github.com/baidubce/bce-sdk-go to v0.9.187 (#13933) (56af84d)
  • deps: update module github.com/baidubce/bce-sdk-go to v0.9.188 (#14000) (79039a2)
  • deps: update module github.com/cespare/xxhash/v2 to v2.3.0 (main) (#13615) (cfc7b34)
  • deps: update module github.com/datadog/sketches-go to v1.4.6 (#13865) (1f3c467)
  • deps: update module github.com/docker/docker to v25.0.5+incompatible [security] (main) (#12279) (960c034)
  • deps: update module github.com/docker/docker to v27.1.1+incompatible [security] (main) (#13762) (f8bf3bb)
  • deps: update module github.com/docker/docker to v27.1.2+incompatible (#13872) (8ab4c20)
  • deps: update module github.com/efficientgo/core to v1.0.0-rc.3 (#14001) (90f7e5f)
  • deps: update module github.com/felixge/fgprof to v0.9.4 (#13870) (c68848f)
  • deps: update module github.com/fsouza/fake-gcs-server to v1.47.7 (#13935) (d43b2de)
  • deps: update module github.com/gogo/googleapis to v1.4.1 (#13871) (6da7eb5)
  • deps: update module github.com/gorilla/mux to v1.8.1 (main) (#13618) (19b288e)
  • deps: update module github.com/gorilla/websocket to v1.5.3 (#13873) (1eb8342)
  • deps: update module github.com/hashicorp/consul/api to v1.29.4 (#14002) (e11b244)
  • deps: update module github.com/ibm/go-sdk-core/v5 to v5.17.4 (#13892) (b6991f2)
  • deps: update module github.com/ibm/ibm-cos-sdk-go to v1.11.0 (#13893) (9b7e7e9)
  • deps: update module github.com/klauspost/pgzip to v1.2.6 (#13874) (fdea7a1)
  • deps: update module github.com/mattn/go-ieproxy to v0.0.12 (#13876) (775bf8e)
  • deps: update module github.com/ncw/swift to v2 (#13951) (246a1df)
  • deps: update module github.com/oschwald/geoip2-golang to v1.11.0 (#13934) (3bebba5)
  • deps: update module github.com/schollz/progressbar/v3 to v3.14.6 (#13884) (fb9cae4)
  • deps: update module github.com/tonistiigi/fifo to v1 (#13952) (96b5c79)
  • deps: update module github.com/workiva/go-datastructures to v1.1.5 (#13885) (d817aee)
  • deps: update module golang.org/x/text to v0.17.0 (main) (#13794) (df61482)
  • deps: update module golang.org/x/time to v0.6.0 (#13910) (dff00bd)
  • detected fields incorrect type bug (#13515) (f6a94d3)
  • detected labels: response when store label values are empty (#13970) (6f99af6)
  • detected_labels: Add matchers to get labels from store" (#14012) (25234e8)
  • do not retain span logger created with index set initialized at query time (#14027) (bd25ac2)
  • fix a bug where AppendRequest with no entries triggers flush (#13672) (8a3ae22)
  • Fix HPA ingester typo (#13158) (4ca9785)
  • Fix log line for fingerprint not found (#13555) (aeb23bb)
  • Fix panic in BloomStore initialisation (#13457) (5f4b8fc)
  • Fix panic in ingester.go (#13557) (dbff69a)
  • fix retry code to handle grpc status codes. updated newer stats retries to be wrapped with spans (#13592) (d3e1edb)
  • fixed typo in ruler URL (#13692) (1476498)
  • Fixes pattern pruning stability (#13429) (7c86e65)
  • Fixes span name of serializeRounTripper (#13541) (4451d56)
  • flaky test blockPlansForGaps (#13743) (37e33d4)
  • gateway client: Fix nil pointer dereference panic when using ruler in ring mode (#13436) (304db10)
  • Handle block offset exceeding chunk length in memchunk.go (#13661) (d42476a)
  • Handle EOF when reading from some obj stores (#13868) (98a15e2)
  • helm: fix extraObjects (#13107) (b7fcf2b)
  • helm: fix imagePullSecrets for statefulset-results-cache (#13051) (8434b2f)
  • helm: fixed memcached and provisioner templates (#13788) (1bf9791)
  • helm: removed helm test (#13651) (ef03476)
  • helm: Update yaml file ./production/helm/loki/Chart.yaml (+1 other) (#13392) (b5b861c)
  • helm: Update yaml file ./production/helm/loki/values.yaml (+1 other) (#13426) (fc3904e)
  • Improve execution speed for queries with label filters (#13922) (40f4f14)
  • Include whitespaces in extracted tokens (#13738) (7683a79)
  • incorrect pod matcher for compactor in mixin when using ssd mode (#12846) (515e13c)
  • Init internal server log along with loki's server instance (#13221) (66b8c9b)
  • Keep blocks referenced by newer metas (#13614) (784e7d5)
  • Lint issues after merge to main (#13326) (7e19cc7)
  • log results cache: include pipeline wrapper disabled in cache key (#13328) (221491c)
  • loki-mixin: Fix latency panel for Index Gateway (#13629) (f586c00)
  • mixin: various latency panels in operational dashboard should have ms unit type instead of seconds (#13260) (f5a9905)
  • operator: Allow structured metadata only if V13 schema provided (#13463) (3ac130b)
  • operator: Don't overwrite annotations for LokiStack ingress resources (#13708) (f523530)
  • operator: Remove duplicate conditions from status (#13497) (527510d)
  • operator: Set object storage for delete requests when using retention (#13562) (46de4c1)
  • operator: Skip updating annotations for serviceaccounts (#13450) (1b9b111)
  • operator: Support v3.1.0 in OpenShift dashboards (#13430) (8279d59)
  • operator: Watch for CredentialsRequests on CCOAuthEnv only (#13299) (7fc926e)
  • panic when parsing and extracting JSON key values (#13790) (5ef83a7)
  • Propagate headers/warnings/stats from quantile downstreams (#13881) (a0c7598)
  • Properly reset wal segment writer (#13468) (6ea83b4)
  • protect ruler remote-write overrides map with a mutex when creating new appenders (#13676) (e9a9c60)
  • querier address in SingleBinary mode (#13297) (29f1ea9)
  • query engine: Include lines with ts equal to end timestamp of the query range when executing range aggregations (#13448) (e0ca67d)
  • Read "404" as object not exist (#13901) (3c9c647)
  • Read full buffer from storage when fetching a range (#13948) (115fef4)
  • record datasample queries are limited query type (#13930) (ae938d0)
  • Redo ingester profile tagging (#13239) (32097c8)
  • remove limit middleware for detected_labels (#13643) (2642718)
  • Remove query size limit for detected fields (#13423) (1fa5127)
  • remove retries on the stats handlers because they already retry (#13608) (1008315)
  • remove tenant label tagging from profiles to reduce cardinality (#13270) (f897758)
  • remove trailing backtick in verify-config for Loki 3.0 (#13640) (498f29a)
  • Retain original values in logfmt pattern tokenizer (#13535) (5fa9c4b)
  • retry: fix retries when using protobuf encoding (#13316) (a457c5d)
  • Return empty vector instead of nil for empty evaluator. (#13485) (08615bf)
  • sanatize structured metadata at query time (#13983) (3bf7fa9)
  • separates directory creation from permission checks (#13248) (1086783)
  • sharding: use without() grouping when merging avg_over_time shard results (#12176) (eb8a363)
  • special case the return values from a sharded first/last_over_time query (#13578) (29a37d5)
  • split the error and agg metric cases for clarity (#13913) (d2474fa)
  • stream ownership check (#13314) (5ae5b31)
  • support multi-zone ingesters when converting global to local limits for streams in limiter.go (#13321) (e28c15f)
  • try reading chunks which have incorrect offset for blocks (#13720) (7e224d5)
  • update fixed limit once streams ownership re-checked (#13231) (7ac19f0)
  • Update Loki v3 Helm statefulset-ingester.yaml template (#13118) (5b4e576)
  • Use elements match in gapsBetweenTSDBsAndMetas test (#13722) (4cbe2a6)

Performance Improvements

  • Avoid looking up unnecessary TSDB symbols during Volume API (#13960) (7c1a849)
  • blooms: always return bloom pages to allocator (#13288) (0cb3ff1)
  • blooms: Avoid tiny string allocations for insert cache (#13487) (652ad24)
  • blooms: mempool no longer zeroes out buffers unnecessarily (#13282) (eb1cd4c)
  • Gather aggregate per-line and per-tenant metrics for Drain patterns (#13368) (bf1d6e3)
  • Limit tokens per pattern to 128 (#13376) (a1efafd)
  • mempool: Replace sync.Mutex with sync.Once (#13293) (61a9854)
  • Prune unused pattern branches (#13329) (5ef18cf)
  • Re-introduce fixed size memory pool for bloom querier (#13172) (4117b6c)

Miscellaneous Chores

  • blooms: Remove bloom compactor component (#13969) (b75eacc)
  • jsonnet: convert read statefulset into deployment for loki-simple-scalable (#13977) (1535183)

Don't miss a new loki release

NewReleases is sending notifications on new releases.