This is release v0.32.0
of the Grafana Agent.
Upgrading
Read the upgrade guide for specific instructions on upgrading from older versions.
Notable changes:
Breaking changes
-
Support for the embedded Flow UI for 32-bit ARMv6 builds is temporarily
removed. -
Node Exporter configuration options changed to align with new upstream version:
diskstats_ignored_devices
is nowdiskstats_device_exclude
in agent configuration.ignored_devices
is nowdevice_exclude
in flow configuration.
-
Some blocks in Flow components have been merged with their parent block to make the block hierarchy smaller:
discovery.docker > http_client_config
is merged into thediscovery.docker
block.discovery.kubernetes > http_client_config
is merged into thediscovery.kubernetes
block.loki.source.kubernetes > client > http_client_config
is merged into theclient
block.loki.source.podlogs > client > http_client_config
is merged into theclient
block.loki.write > endpoint > http_client_config
is merged into theendpoint
block.mimir.rules.kubernetes > http_client_config
is merged into themimir.rules.kubernetes
block.otelcol.receiver.opencensus > grpc
is merged into theotelcol.receiver.opencensus
block.otelcol.receiver.zipkin > http
is merged into theotelcol.receiver.zipkin
block.phlare.scrape > http_client_config
is merged into thephlare.scrape
block.phlare.write > endpoint > http_client_config
is merged into theendpoint
block.prometheus.remote_write > endpoint > http_client_config
is merged into theendpoint
block.prometheus.scrape > http_client_config
is merged into theprometheus.scrape
block.
-
The
loki.process
component now uses a combined name for stages, simplifying the block hierarchy. For example, thestage > json
block hierarchy is now a single block calledstage.json
. All stage blocks inloki.process
have been updated to use this simplified hierarchy. -
remote.s3
client_options
block has been renamed toclient
. -
Renamed
prometheus.integration.node_exporter
toprometheus.exporter.unix
. -
As first announced in v0.30, support for the
EXPERIMENTAL_ENABLE_FLOW
environment variable has been removed in favor ofAGENT_MODE=flow
.
Features
-
New integrations:
oracledb
mssql
cloudwatch metrics
azure
gcp
-
New Grafana Agent Flow components:
loki.echo
writes received logs to stdout.loki.source.docker
reads logs from Docker containers and forwards them to otherloki
components.loki.source.kafka
reads logs from Kafka events and forwards them to otherloki
components.loki.source.kubernetes_events
watches for Kubernetes Events and converts them into log lines to forward to otherloki
components. It is the equivalent of theeventhandler
integration.otelcol.processor.tail_sampling
samples traces based on a set of defined policies fromotelcol
components before forwarding them to otherotelcol
components.prometheus.exporter.apache
collects metrics from an apache web serverprometheus.exporter.consul
collects metrics from a consul installationprometheus.exporter.github
collects metrics from GitHubprometheus.exporter.process
aggregates and collects metrics by scraping/proc
.prometheus.exporter.redis
collects metrics from a redis database
For a full list of changes, please refer to the CHANGELOG!
Installation:
Grafana Agent is currently distributed in plain binary form, Docker container images, a Windows installer, and a Kubernetes install script. Choose whichever fits your use-case best.
Kubernetes
Install directions here.
Docker container:
Docker containers are published as grafana/agent:v0.32.0
. For Windows Docker containers, use grafana/agent:v0.32.0-windows
instead.
Windows installer
The Windows installer is provided as a release asset for x64 machines.
Binary
We provide precompiled binary executables for the most common operating systems. Choose from the assets below for your matching operating system.
Note: ppc64le builds are currently considered secondary release targets and do not have the same level of support and testing as other platforms.
Example for the linux
operating system on amd64
:
# download the binary
curl -O -L "https://github.com/grafana/agent/releases/download/v0.32.0/grafana-agent-linux-amd64.zip"
# extract the binary
unzip "grafana-agent-linux-amd64.zip"
# make sure it is executable
chmod a+x "grafana-agent-linux-amd64"
agentctl
agentctl
, a tool for helping you interact with the Agent, is available as a Docker image:
Docker containers are published as grafana/agentctl:v0.32.0
. For Windows Docker containers, use grafana/agentctl:v0.32.0-windows
instead.
Or as a binary. Like before, choose the assets below that matches your operating system. For example, with linux
on amd64
:
# download the binary
curl -O -L "https://github.com/grafana/agent/releases/download/v0.32.0/grafana-agentctl-linux-amd64.zip"
# extract the binary
unzip "grafana-agentctl-linux-amd64.zip"
# make sure it is executable
chmod a+x "grafana-agentctl-linux-amd64"
agent-operator
agent-operator
, a Kubernetes Operator for the Grafana Agent, is available only as a Docker image:
docker pull "grafana/agent-operator:v0.32.0"