Grafana Loki recently introduced their version 3.4, which includes enhancements aimed at improving the efficiency and log management standardization. One of the key updates is the integration of the Thanos Object Storage Client, which aligns Loki’s storage configuration with other Grafana databases, such as Mimir and Pyroscope.
Julie Stickler, Staff Technical Writer at Grafana Labs elaborated the updates in a blog post. Thanos, a widely recognized CNCF project, ensures that Loki benefits from a well-maintained open-source standard for long-term storage and querying. The use of Thanos is optional in Loki 3.4, that allows engineers to migrate at their own pace, but it is expected to become the default storage client in future releases, with existing configurations being deprecated.
Another significant improvement in Loki 3.4 is the return of the sizing guidance page. This resource helps engineers determine the appropriate CPU and memory requirements for running Loki in microservices mode, based on expected ingestion volumes. The guidance categorizes deployments into three tiers, providing recommendations for resource utilization. This detailed sizing guidance has been a frequent request from engineers seeking to optimize their deployments effectively.
Loki 3.4 release also merges Promtail into Grafana Alloy. Promtail, a telemetry data collection agent for Loki, is being deprecated. Instead, Grafana Alloy, which offers a unified approach to telemetry collection, is being adopted in version 3.4.
Alloy combines the capabilities of various agents, including Promtail, into a single tool that supports metrics, logs, traces, and profiles. This consolidation aims to simplify the observability landscape by reducing the number of agents engineers need to manage.
Promtail will enter a Long-Term Support (LTS) phase as of February 13, 2025, during which it will continue to receive commercial support, security updates, and critical fixes. However, it is slated to reach End-of-Life (EOL) by March 2, 2026, after which no further support or updates will be provided. To facilitate a smooth transition, migration documentation and tools are available to help engineers convert their Promtail configurations to Alloy configurations.
John Hayes, Observability & DevOps Analyst at SquaredUp shared this blog on LinkedIn,
So this is an item in the release blog for Loki 3.4, but it seems like it is worthy of an announcement in its own right. The venerable Promtail agent is being deprecated and will reach end of life in March next year.
It’s functionality is being merged into Grafana Alloy, which seems to cement Alloy’s status as not just an oTel Collector distro but a more fully-fledged pipeline.
The Loki 3.4 announcement posted by Grafana Labs on LinkedIn received notable attention, with 19 reposts and 216 reactions.
Loki 3.4 also expands its support for out-of-order logs, allowing for the ingestion of log lines from any time period. This feature can be enabled by setting time_sharding_enabled
to true. Additionally, the new release simplifies the extraction of structured metadata from logs during ingestion, enhancing the utility of log data.
There are improvements to the Loki Helm chart as well, including support for topologySpreadConstraints
and enhancements to Loki’s overrides exporter.
Further detailed information about Loki 3.4 is available in the release notes.