Skip to content

Releases: grafana/loki

v2.9.9

04 Jul 15:16
aaca205
Compare
Choose a tag to compare

2.9.9 (2024-07-04)

Features

  • Ingester: Add ingester_chunks_flush_failures_total 12925
  • Ingester: Add backoff to flush op 13140

v3.1.0

02 Jul 22:10
935aee7
Compare
Choose a tag to compare

3.1.0 (2024-07-02)

⚠ BREAKING CHANGES

  • update helm chart to support distributed mode and 3.0 (#12067)

Features

  • Add a version of the mixin dashboards for meta monitoring (#12700) (ec1a057)
  • Add backoff to flush op (#13140) (9767807)
  • add detected-fields command to logcli (#12739) (210ea93)
  • Add ingester_chunks_flush_failures_total (#12925) (cc3694e)
  • add lokitool (#12166) (7b7d3d4)
  • Add metrics for number of patterns detected & evicted (#12918) (bc53b33)
  • Add new Drain tokenizer that splits on most punctuation (#13143) (6a0fdd0)
  • Add pattern ingester support in SSD mode (#12685) (19bfef4)
  • add profile tagging to ingester (#13068) (00d3c7a)
  • add recalculateOwnedStreams to check stream ownership if the ring is changed (#13103) (e7689b2)
  • Add step param to Patterns Query API (#12703) (7b8533e)
  • Add tokenizer interface for Drain Training (#13069) (797bb64)
  • add toleration for bloom components (#12653) (fcb2b0a)
  • Add utf8 support to Pattern Lexer to support utf8 chars (#13085) (f6f8bab)
  • add warnings to metadata context directly (#12579) (c4ac8cc)
  • Added getting started video (#12975) (8442dca)
  • Added Interactive Sandbox to Quickstart tutorial (#12701) (97212ea)
  • Added video and updated Grafana Agent -> Alloy (#13032) (1432a3e)
  • API: Expose optional label matcher for label names API (#11982) (8084259)
  • area/promtail: Added support to install wget on promtail docker image to support docker healthcheck (#11711) (ffe684c)
  • blooms: Add counter metric for blocks that are not available at query time (#12968) (d6374bc)
  • blooms: Add in-memory LRU cache for meta files (#12862) (fcd544c)
  • blooms: Blooms/v2 encoding multipart series (#13093) (fbe7c55)
  • blooms: compute chunks once (#12664) (bc78d13)
  • blooms: ignore individual bloom-gw failures (#12863) (4c9b22f)
  • blooms: ingester aware bounded impl (#12840) (7bbd8b5)
  • bloom: Skip attempts to filter chunks for which blooms have not been built (#12961) (a1b1eeb)
  • blooms: limit bloom size during creation (#12796) (eac5622)
  • blooms: record time spent resolving shards (#12636) (9c25985)
  • blooms: Separate page buffer pools for series pages and bloom pages (#12992) (75ccf21)
  • Boilerplate for new bloom build planner and worker components. (#12989) (8978ecf)
  • cache: Add Cache-Control: no-cache support for Loki instant queries. (#12896) (88e545f)
  • canary: Add test to check query results with and without cache. (#13104) (71507a2)
  • Detected labels from store (#12441) (587a6d2)
  • detected-labels: include labels with cardinality > 1 (#13128) (8be8364)
  • detectedFields: add parser to response (#12872) (2b3ae48)
  • detectedFields: Support multiple parsers to be returned for a single field (#12899) (19fef93)
  • Enable log volume endpoint by default (#12628) (397aa56)
  • Enable log volume endpoint by default in helm (#12690) (e39677f)
  • Generic logline placeholder replacement and tokenization (#12799) (4047902)
  • helm: Allow extraObject items as multiline strings (#12397) (af5be90)
  • helm: Support for PVC Annotations for Non-Distributed Modes (#12023) (efdae3d)
  • improve performance of first_over_time and last_over_time queries by sharding them (#11605) (f66172e)
  • improve syntax parser for pattern (#12489) (48dae44)
  • include the stream we failed to create in the stream limit error message (#12437) (ec81991)
  • Increase drain max depth from 8 -> 30 (#13063) (d0a2859)
  • Introduce index audit to lokitool (#13008) (47f0236)
  • loki/main.go: Log which config file path is used on startup (#12985) ([7a3338e](https://github.com/gra...
Read more

operator: v0.6.1

03 Jun 11:41
c8cc0fb
Compare
Choose a tag to compare

0.6.1 (2024-06-03)

Features

Bug Fixes

  • operator: Bump golang builder to 1.21.9 (#12503) (f680ee0)
  • operator: Configure Loki to use virtual-host-style URLs for S3 AWS endpoints (#12469) (0084262)
  • operator: Improve validation of provided S3 storage configuration (#12181) (f9350d6)
  • operator: Use a minimum value for replay memory ceiling (#13066) (4f3ed77)
  • update to build image 0.33.2, fixes bug with promtail windows DNS resolution (#12732) (759f42d)
  • updated all dockerfiles go1.22 (#12708) (71a8f2c)

v2.9.8

03 May 07:45
94e0029
Compare
Choose a tag to compare

2.9.8 (2024-05-02)

Bug Fixes

  • deps: update module golang.org/x/net to v0.23.0 [security] (release-2.9.x) (#12865) (94e0029)
  • Trigger release-please for 2.9.7 (#12822) (55b747c)

v2.9.7

10 Apr 09:01
efc4d2f
Compare
Choose a tag to compare

2.9.7 (2024-04-10)

Bug Fixes

Loki 3.0.0

08 Apr 19:19
b4f7181
Compare
Choose a tag to compare

Grafana Labs and the Loki team are excited to announce the release of Loki 3.0. Here's a summary of new enhancements and important fixes.

For a full list of all changes and fixes, refer to the CHANGELOG.

Features and enhancements

Key features in Loki 3.0.0 include the following:

  • Query acceleration with Bloom filters (experimental): This is designed to speed up filter queries, with best results for queries that are looking for a specific text string like an error message or UUID.

  • Native OTel Support: A simplified ingestion pipeline (Loki Exporter no longer needed) and a more intuitive query experience for OTel logs.

  • Helm charts: A major upgrade to the Loki helm chart introduces support for Distributed mode (microservices), includes memcached by default, and includes several updates to configurations to improve Loki operations.

  • Lambda/Promtail: support dropping labels (#10755) (ec54c72).

  • Docs improvements: All the Getting Started topics have been revised, including a new Quickstart to help new users get up and running with Loki faster.The Storage, Configuration Reference, and API documentation have been updated to reflect deprecated and removed code, configuration options, and API endpoints.

Deprecations

One of the focuses of Loki 3.0 was cleaning up unused code and old features that had been previously deprecated but not removed. Loki 3.0 removes a number of previous deprecations and introduces some new deprecations. Some of the main areas with changes include:

To learn more about breaking changes in this release, refer to the Upgrade guide.

Upgrade Considerations

The path from 2.9 to 3.0 includes several breaking changes. For important upgrade guideance, refer to the Upgrade Guide and the separate Helm Upgrade Guide.

Bug fixes

3.0.0 (2024-05-08)

  • All lifecycler cfgs ref a valid IPv6 addr and port combination (#11121) (6385b19)
  • deps: update github.com/c2h5oh/datasize digest to 859f65c (main) (#10820) (c66ffd1)
  • deps: update github.com/docker/go-plugins-helpers digest to 6eecb7b (main) (#10826) (fb9c496)
  • deps: update github.com/grafana/gomemcache digest to 6947259 (main) (#10836) (2327789)
  • deps: update github.com/grafana/loki/pkg/push digest to 583aa28 (main) (#10842) (02d9418)
  • deps: update github.com/grafana/loki/pkg/push digest to cfc4f0e (main) (#10946) (d27c4d2)
  • deps: update github.com/grafana/loki/pkg/push digest to e523809 (main) (#11107) (09cb9ae)
  • deps: update github.com/joncrlsn/dque digest to c2ef48c (main) (#10947) (1fe4885)
  • deps: update module google.golang.org/grpc [security] (main) (#11031) (0695424)
  • helm: bump nginx-unprivilege to fix CVE (#10754) (dbf7dd4)
  • Parse JSON String arrays properly so string elements can be retrieved: PR #11921]
  • promtail: correctly parse list of drop stage sources from YAML (#10848) (f51ee84)
  • promtail: prevent panic due to duplicate metric registration after reloaded (#10798) (47e2c58)
  • respect query matcher in ingester when getting label values (#10375) (85e2e52)
  • Sidecar configuration for Backend (#10603) (c29ba97)
  • tools/lambda-promtail: Do not evaluate empty string for drop_labels (#11074) (94169a0)

operator/v0.6.0

25 Mar 13:02
770438b
Compare
Choose a tag to compare

This is release v0.6.0 of Loki Operator.

Full Changelog: operator/v0.5.0...operator/v0.6.0

Notable changes:

  • 12228 xperimental: Restructure LokiStack metrics
  • 12164 periklis: Use safe bearer token authentication to scrape operator metrics
  • 12216 xperimental: Fix duplicate operator metrics due to ServiceMonitor selector
  • 12212 xperimental: Keep credentialMode in status when updating schemas
  • 12165 JoaoBraveCoding: Change attribute value used for CCO-based credential mode
  • 12157 periklis: Fix managed auth features annotation for community-openshift bundle
  • 12104 periklis: Upgrade build and runtime dependencies
  • 11928 periklis: Fix remote write client timeout config rename
  • 12097 btaani: Fix encoding of blocked query pattern in configuration
  • 12106 xperimental: Allow setting explicit CredentialMode in LokiStack storage spec
  • 11968 xperimental: Extend status to show difference between running and ready
  • 12007 xperimental: Extend Azure secret validation
  • 12008 xperimental: Support using multiple buckets with AWS STS
  • 11964 xperimental: Provide Azure region for managed credentials using environment variable
  • 11920 xperimental: Refactor handling of credentials in managed-auth mode
  • 11869 periklis: Add support for running with Google Workload Identity
  • 11868 xperimental: Integrate support for OpenShift-managed credentials in Azure
  • 11854 periklis: Allow custom audience for managed-auth on STS
  • 11802 xperimental: Add support for running with Azure Workload Identity
  • 11824 xperimental: Improve messages for errors in storage secret
  • 11524 JoaoBraveCoding, periklis: Add OpenShift cloud credentials support for AWS STS
  • 11513 btaani: Add a custom metric that collects Lokistacks requiring a schema upgrade
  • 11718 periklis: Upgrade k8s.io, sigs.k8s.io and openshift deps
  • 11671 JoaoBraveCoding: Update mixins to fix structured metadata dashboards
  • 11624 xperimental: React to changes in ConfigMap used for storage CA
  • 11481 JoaoBraveCoding: Adds AWS STS support
  • 11533 periklis: Add serviceaccount per LokiStack resource
  • 11158 btaani: operator: Add warning for old schema configuration
  • 11473 JoaoBraveCoding: Adds structured metadata dashboards
  • 11448 periklis: Update Loki operand to v2.9.3
  • 11357 periklis: Fix storing authentication credentials in the Loki ConfigMap
  • 11393 periklis: Add infra annotations for OpenShift based deployments
  • 11094 periklis: Add support for blocking queries per tenant
  • 11288 periklis: Fix custom CA for object-store in ruler component
  • 11091 periklis: Add automatic stream sharding support
  • 11022 JoaoBraveCoding: Remove outdated BoltDB dashboards
  • 10932 JoaoBraveCoding: Adds new value v13 to schema
  • 11232 periklis: Update dependencies and dev tools
  • 11129 periklis: Update deps to secure webhooks for CVE-2023-44487

Installation:

The components of Loki are currently distributed in plain binary form and as Docker container images. Choose what fits your use-case best.

The Loki Operator is currently distributed as plain bundles on both Operator Hub instances:

Docker container:

$ docker pull "grafana/loki-operator:0.6.0"

v2.8.11

22 Mar 10:00
aa89d81
Compare
Choose a tag to compare

2.8.11 (2024-03-22)

Bug Fixes

  • update google.golang.org/protobuf to v1.33.0 (#12276) (3c05724)

v2.9.6

22 Mar 08:57
3186520
Compare
Choose a tag to compare

2.9.6 (2024-03-21)

Bug Fixes

  • promtail failures connecting to local loki installation [release-2.9.x] (#12184) (8585e35)
  • release-2.9.x: frontend: Use net.JoinHostPort to support IPv6 addresses (#10650) (#11870) (7def3b4)
  • update google.golang.org/protobuf to v1.33.0 (#12269) (#12287) (3186520)

v2.9.5

29 Feb 00:11
e759cae
Compare
Choose a tag to compare

2.9.5 (2024-02-28)

Features

Bug Fixes