This is documentation for the next version of Grafana Loki documentation. For the latest stable release, go to the latest version.
v4.0
Grafana Labs and the Loki team are excited to announce the release of Loki 4.0. Here’s a summary of new enhancements and important fixes.
For a full list of all changes and fixes, refer to the CHANGELOG
Note
See the deprecations section for important information about the Loki Helm charts.
Features and enhancements
Key features in Loki 4.0.0 include the following:
Feature 1
Feature 2
Helm charts: -
Docs:
Other improvements include the following:
- Improvement 1
- Improvement 2
- Improvement 3
Deprecations
Loki 4.0 removed a number of previous deprecations and introduces some new deprecations. Some of the main areas with changes include:
- Bloom filters, including the deprecation of the experimental Bloom Planner, Bloom Builder, and Bloom Gateway.
To learn more about breaking changes in this release, refer to the Upgrade guide.
Upgrade Considerations
For important upgrade guidance, refer to the Upgrade Guide.
- BREAKING CHANGE - engine: Unplug the V2 query engine from the config and modules (#25353)
- BREAKING CHANGE - frontend: Default frontend.encoding to protobuf (#23985)
- BREAKING CHANGE - ingester: Remove deprecated per-tenant setting
unordered_writes(#21835) - BREAKING CHANGE - ksonnet: Remove boltdb-shipper specific flags from lib (#21656)
- BREAKING CHANGE - logql: Stop writing
__preserve_error__as a label (#24877) - BREAKING CHANGE - logql: Let an
__error__filter decide whether a metric query keeps errored samples (#24719) - BREAKING CHANGE - logql: Apply grouping to an errored sample’s labels (#24712)
- BREAKING CHANGE - logql: Remove support for experimental LogQL variants() queries (#23823)
- BREAKING CHANGE - loki: Upgrade Go module to github.com/grafana/loki/v4 (#25972)
- BREAKING CHANGE - loki: Remove deprecated
per_tenant_override_configandper_tenant_override_period(#22856) - BREAKING CHANGE - loki: Remove targets for Simple Scalable Deployment (SSD) (#21481)
- BREAKING CHANGE - loki: Remove deprecated
/api/promAPI endpoints (#21569) - BREAKING CHANGE - loki: Rename metric
loki_log_flushes(#21765) - BREAKING CHANGE - loki: Remove deprecated
loki_log_messages_totalmetric (#21764) - BREAKING CHANGE - operator: Stop reconciliation of deprecated BoltDB schemas (#24990)
- BREAKING CHANGE - operator: Make schemas field required in storage spec (#24716)
- BREAKING CHANGE - querytee: Configure a primary and a secondary backend (#25552)
- BREAKING CHANGE - querytee: Remove the request splitting (#25496)
- BREAKING CHANGE - querytee: Remove the routing modes (#25487)
- BREAKING CHANGE - ruler: Remove deprecated ruler_remote_write_* per-tenant limits (#22941)
- BREAKING CHANGE - ruler: Remove deprecated remote-write ‘client’ setting (#23453)
- BREAKING CHANGE - ruler: Always wipe the remote-write WAL on startup (#22509)
- BREAKING CHANGE - storage: Limit supported S3 storage classes to STANDARD and STANDARD_IA (#26273) [release-4.0.0] (#26310)
- BREAKING CHANGE - storage: Rename remaining
loki_boltdb_shipper_*metrics toloki_tsdb_shipper_*(#25345) - BREAKING CHANGE - storage: Remove
row_shardsfrom the schema configuration (#23683) - BREAKING CHANGE - storage: Remove the disable_broad_index_queries setting (#23679)
- BREAKING CHANGE - storage: Remove unused
period_configsettings that are no longer used by TSDB index (#23665) - BREAKING CHANGE - storage: Use Thanos storage clients by default (#22676)
- BREAKING CHANGE - storage: Remove index read cache and index cache validity settings (#22066)
- BREAKING CHANGE - storage: Remove deprecated write dedupe cache (#22056)
- BREAKING CHANGE - storage: Remove deprecated BoltDB Shipper storage backend (#21678)
- BREAKING CHANGE - storage: Remove deprecated BoltDB storage backend for indexes (#21637)
- BREAKING CHANGE - storage: Remove deprecated gRPC storage backend (#21638)
- BREAKING CHANGE - storage: Remove deprecated DynamoDB storage backend (#21601)
- BREAKING CHANGE - storage: Remove deprecated Cassandra storage backend (#21574)
- BREAKING CHANGE - storage: Remove support for BigTable/GCP storage backend (#21502)


