Releases: grafana/loki
operator: v0.6.2
0.6.2 (2024-09-11)
Features
- Ingester Stream Limit Improvements (#13532) (ec34aaa)
- operator: Add alert for discarded samples (#13512) (5f2a02f)
- operator: Add support for Loki OTLP limits config (#13446) (d02f435)
- operator: Add support for the volume API (#13369) (d451e23)
- operator: Enable leader-election (#13760) (1ba4bff)
- operator: Update Loki operand to v3.1.0 (#13422) (cf5f52d)
- operator: Update Loki operand to v3.1.1 (#14042) (7ae1588)
Bug Fixes
- deps: update k8s.io/utils digest to 702e33f (#14033) (b7eecc7)
- operator: add alertmanager client config to ruler template (#13182) (6148c37)
- operator: Allow structured metadata only if V13 schema provided (#13463) (3ac130b)
- operator: Don't overwrite annotations for LokiStack ingress resources (#13708) (f523530)
- operator: Improve API documentation for schema version (#13122) (3a9f50f)
- 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)
v3.0.1
v2.9.10
v3.1.1
v2.9.9
v3.1.0
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
andlast_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
tolokitool
(#13008) (47f0236) - loki/main.go: Log which config file path is used on startup (#12985) ([7a3338e](https://github.com/gra...
operator: v0.6.1
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
v2.9.7
Loki 3.0.0
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:
-
Deprecated storage options including the deprecation of the BoltDB store.
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)