github grafana/agent v0.40.0

latest releases: helm-chart/0.41.0, v0.41.1, helm-chart/0.40.0...
4 months ago

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:

Don't miss a new agent release

NewReleases is sending notifications on new releases.