v0.36.0
This is release v0.36.0 of Grafana Agent.
Upgrading
Read the relevant upgrade guides for specific instructions on upgrading from older versions:
Notable changes:
Breaking changes
-
loki.source.filecomponent will no longer automatically detect and
decompress logs from compressed files. A new configuration block is available
to enable decompression explicitly. See the [upgrade guide][] for migration
instructions. (@thampiotr) -
otelcol.exporter.prometheus: Setinclude_scope_infotofalseby default. You can set
it totrueto preserve previous behavior. (@gouthamve) -
prometheus.remote_write: Setretry_on_http_429totrueby default in thequeue_configblock.
You can set it tofalseto preserve previous behavior. (@wildum)
Features
-
Add godeltaprof profiling types (
godeltaprof_memory,godeltaprof_mutex,godeltaprof_block) topyroscope.scrapecomponent -
Flow: Allow the
loggingconfiguration block to tee the Agent's logs to one
or more loki.* components. (@tpaschalis) -
Added support for
promtailconfiguration conversion ingrafana-agent convertandgrafana-agent runcommands. (@thampiotr) -
Flow: Add a new stage
non_indexed_labelsto attach non-indexed labels from extracted data to log line entry. (@vlad-diachenko) -
loki.writenow exposes basic WAL support. (@thepalbi) -
Flow: Users can now define
additional_fieldsinloki.source.cloudflare(@wildum) -
Flow: Added exemplar support for the
otelcol.exporter.prometheus. (@wildum) -
Add a
labelsargument inloki.source.windowseventto associate additional labels with incoming logs. (@wildum) -
New Grafana Agent Flow components:
prometheus.exporter.gcp- scrape GCP metrics. (@tburgessdev)otelcol.processor.span- accepts traces telemetry data from otherotelcol
components and modifies the names and attributes of the spans. (@ptodev)discovery.uyunidiscovers scrape targets from a Uyuni Server. (@sparta0x117)discovery.eurekadiscovers targets from a Eureka Service Registry. (@spartan0x117)discovery.openstack- service discovery for OpenStack. (@marctc)discovery.hetzner- service discovery for Hetzner Cloud. (@marctc)discovery.nomad- service discovery from Nomad. (@captncraig)discovery.puppetdb- service discovery from PuppetDB. (@captncraig)otelcol.processor.discoveryadds resource attributes to spans, where the attributes
keys and values are sourced fromdiscovery.*components. (@ptodev)otelcol.connector.spanmetrics- creates OpenTelemetry metrics from traces. (@ptodev)
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: