Skip to content

v0.40.0

Compare
Choose a tag to compare
@updater-for-ci updater-for-ci released this 27 Feb 11:41
· 256 commits to main since this release
v0.40.0
9be9693

This is release v0.40.0 of Grafana Agent.

Upgrading

Read the relevant upgrade guides for specific instructions on upgrading from older versions:

Notable changes:

Breaking changes

  • Prohibit the configuration of services within modules. (@wildum)

  • For otelcol.exporter components, change the default value of disable_high_cardinality_metrics to true. (@ptodev)

  • Rename component prometheus.exporter.agent to prometheus.exporter.self to clear up ambiguity. (@hainenber)

Deprecations

  • Module components have been deprecated in favor of import and declare configuration blocks. These deprecated components will be removed in the next release. (@wildum)

Features

  • Modules have been redesigned to split the import logic from the instantiation.
    You can now define custom components via the declare config block and import modules via import.git, import.http, import.string, import.file. (@wildum)

  • A new discovery.process component for discovering Linux OS processes on the current host. (@korniltsev)

  • A new pyroscope.java component for profiling Java processes using async-profiler. (@korniltsev)

  • A new otelcol.processor.resourcedetection component which inserts resource attributes
    to OTLP telemetry based on the host on which Grafana Agent is running. (@ptodev)

  • Expose track_timestamps_staleness on Prometheus scraping, to fix the issue where container metrics live for 5 minutes after the container disappears. (@ptodev)

  • Introduce the remotecfg service that enables loading configuration from a
    remote endpoint. (@tpaschalis)

  • Add otelcol.connector.host_info component to gather usage metrics for cloud users. (@rlankfo, @jcreixell)

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

Installation

Refer to our installation guides for how to install the variants of Grafana Agent: