github grafana/alloy v1.11.0-rc.1

pre-release20 hours ago

This is release v1.11.0-rc.1 of Grafana Alloy.

Upgrading

Read the release notes for specific instructions on upgrading from older versions:

Notable changes:

Bugfixes

  • Fix loki.source.podlogs component to properly collect logs from Kubernetes Jobs and CronJobs. Previously, the component would fail to scrape logs from short-lived or terminated jobs due to race conditions between job completion and pod discovery. The fix includes:

    • Job-aware termination logic with extended grace periods (10-60 seconds) to ensure all logs are captured
    • Proper handling of pod deletion and race conditions between job completion and controller cleanup
    • Separation of concerns: shouldStopTailingContainer() handles standard Kubernetes restart policies for regular pods, while shouldStopTailingJobContainer() handles job-specific lifecycle with grace periods
    • Enhanced deduplication mechanisms to prevent duplicate log collection while ensuring comprehensive coverage
    • Comprehensive test coverage including unit tests and deduplication validation
      This resolves the issue where job logs were being missed, particularly for fast-completing jobs or jobs that terminated before discovery. (@QuentinBisson)
  • Fix prometheus.exporter.redis component so that it no longer ignores the MaxDistinctKeyGroups configuration option. If key group metrics are enabled, this will increase the cardinality of the generated metrics. (@stegosaurus21)

  • Fix loki.source.journal creation failing with an error when the journal file is not found. (@thampiotr)

For a full list of changes, please refer to the CHANGELOG!

Installation

Refer to our installation guide for how to install Grafana Alloy.

Don't miss a new alloy release

NewReleases is sending notifications on new releases.