Project: Grafana Loki (Observability and Analysis / Observability)
File: v3.0.md

title: v3.0 description: Version 3.0 release notes. weight: 30 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 . {{< admonition type="note" >}} Note that Loki 3.0 defaults to using the v13 schema. All of the latest features are built against TSDB and the v13 Schema. This version of the schema is compatible with both Loki 2.9.x and Loki 3.0. The main change is to add support for Structured Metadata which is used by the new OTLP native endpoint and is enabled by default. {{< /admonition >}} 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. For more information, refer to . Native OpenTelemetry Support: A simplified ingestion pipeline (Loki Exporter no longer needed) and a more intuitive query experience for OTel logs. For more information, refer to the . Helm charts: A major upgrade to the Loki helm chart introduces support for `Distributed` mode (also known as mode), includes memcached by default, and includes several updates to configurations to improve Loki operations. Pattern match filter: LogQL now supports two new . You can match any word with just one control character and it is simpler and 10x faster than using regex. Caching updates: This release includes multiple updates to caching to improve performance, add new configuration options and support for new features, deprecate features no longer needed, and add automatic background checks. Lambda/Promtail: Support dropping labels () (). Profiling integration: Added profiling integrations to tracing instrumentation to allow getting a profile for a single request. Docs improvements: All the Getting Started topics have been revised, including a new 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. 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

removes a number of previous deprecations and introduces some new deprecations. Some of the main areas with changes include: including the deprecation of the BoltDB store. . . To learn more about breaking changes in this release, refer to the . The path from 2.9 to 3.0 includes several breaking changes. For important upgrade guidance, refer to the and the separate . All lifecycler configurations reference a valid IPv6 address and port combination () (). deps: Update github.com/c2h5oh/datasize digest to 859f65c (main) () (). deps: Update github.com/docker/go-plugins-helpers digest to 6eecb7b (main) () (). deps: Update github.com/grafana/gomemcache digest to 6947259 (main) () (). deps: Update github.com/grafana/loki/pkg/push digest to 583aa28 (main) () (). deps: Update github.com/grafana/loki/pkg/push digest to cfc4f0e (main) () (). deps: Update github.com/grafana/loki/pkg/push digest to e523809 (main) () (). deps: Update github.com/joncrlsn/dque digest to c2ef48c (main) () (). deps: Update module google.golang.org/grpc ) (). helm: Bump nginx-unprivilege to fix CVE () (). helm: Sidecar configuration for Backend () (). lambda-promtail Fix panic in lambda-promtail due to mishandling of empty DROP_LABELS env var. (). loki: Respect query matcher in ingester when getting label values () (). loki Generate tsdbshipper storageconfig even if usingboltdbshipper is false (). loki Do not reflect label names in request metrics' "route" label. (). loki Fix duplicate logs from docker containers. (). loki Ruler: Fixed a panic that can be caused by concurrent read-write access of tenant configs when there are a large amount of rules. (). loki Fixed regression adding newlines to HTTP error response bodies which may break client integrations. (). loki Log results cache: compose empty response based on the request being served to avoid returning incorrect limit or direction. (). loki Fix semantics of label parsing logic of metrics and logs queries. Both only parse the first label if multiple extractions into the same label are requested. (). loki Background Cache: Fixes a bug that is causing the background queue size to be incremented twice for each enqueued item. (). loki: Parsing: String array elements were not being parsed correctly in JSON processing (). promtail: Correctly parse list of drop stage sources from YAML () (). promtail: Prevent panic due to duplicate metric registration after reloaded () (). promtail: Fix Promtail excludepath not evaluated on newly added files. (). tools/lambda-promtail: Do not evaluate empty string for drop_labels () ().