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.file
component 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_info
tofalse
by default. You can set
it totrue
to preserve previous behavior. (@gouthamve) -
prometheus.remote_write
: Setretry_on_http_429
totrue
by default in thequeue_config
block.
You can set it tofalse
to preserve previous behavior. (@wildum)
Features
-
Add godeltaprof profiling types (
godeltaprof_memory
,godeltaprof_mutex
,godeltaprof_block
) topyroscope.scrape
component -
Flow: Allow the
logging
configuration block to tee the Agent's logs to one
or more loki.* components. (@tpaschalis) -
Added support for
promtail
configuration conversion ingrafana-agent convert
andgrafana-agent run
commands. (@thampiotr) -
Flow: Add a new stage
non_indexed_labels
to attach non-indexed labels from extracted data to log line entry. (@vlad-diachenko) -
loki.write
now exposes basic WAL support. (@thepalbi) -
Flow: Users can now define
additional_fields
inloki.source.cloudflare
(@wildum) -
Flow: Added exemplar support for the
otelcol.exporter.prometheus
. (@wildum) -
Add a
labels
argument inloki.source.windowsevent
to 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.uyuni
discovers scrape targets from a Uyuni Server. (@sparta0x117)discovery.eureka
discovers 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.discovery
adds 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: