v0.32.0-rc.0
Pre-releaseThis is release v0.32.0-rc.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_devicesis nowdiskstats_device_excludein agent configuration.ignored_devicesis nowdevice_excludein flow configuration.
-
Some blocks in Flow components have been merged with their parent block to make the block hierarchy smaller:
discovery.docker > http_client_configis merged into thediscovery.dockerblock.discovery.kubernetes > http_client_configis merged into thediscovery.kubernetesblock.loki.source.kubernetes > client > http_client_configis merged into theclientblock.loki.source.podlogs > client > http_client_configis merged into theclientblock.loki.write > endpoint > http_client_configis merged into theendpointblock.mimir.rules.kubernetes > http_client_configis merged into themimir.rules.kubernetesblock.otelcol.receiver.opencensus > grpcis merged into theotelcol.receiver.opencensusblock.otelcol.receiver.zipkin > httpis merged into theotelcol.receiver.zipkinblock.phlare.scrape > http_client_configis merged into thephlare.scrapeblock.phlare.write > endpoint > http_client_configis merged into theendpointblock.prometheus.remote_write > endpoint > http_client_configis merged into theendpointblock.prometheus.scrape > http_client_configis merged into theprometheus.scrapeblock.
-
The
loki.processcomponent now uses a combined name for stages, simplifying the block hierarchy. For example, thestage > jsonblock hierarchy is now a single block calledstage.json. All stage blocks inloki.processhave been updated to use this simplified hierarchy. -
remote.s3client_optionsblock has been renamed toclient. -
Renamed
prometheus.integration.node_exportertoprometheus.exporter.unix. -
As first announced in v0.30, support for the
EXPERIMENTAL_ENABLE_FLOWenvironment variable has been removed in favor ofAGENT_MODE=flow.
Features
-
New integrations:
oracledbmssqlcloudwatch metricsazuregcp
-
New Grafana Agent Flow components:
loki.echowrites received logs to stdout.loki.source.dockerreads logs from Docker containers and forwards them to otherlokicomponents.loki.source.kafkareads logs from Kafka events and forwards them to otherlokicomponents.loki.source.kubernetes_eventswatches for Kubernetes Events and converts them into log lines to forward to otherlokicomponents. It is the equivalent of theeventhandlerintegration.otelcol.processor.tail_samplingsamples traces based on a set of defined policies fromotelcolcomponents before forwarding them to otherotelcolcomponents.prometheus.exporter.apachecollects metrics from an apache web serverprometheus.exporter.consulcollects metrics from a consul installationprometheus.exporter.githubcollects metrics from GitHubprometheus.exporter.processaggregates and collects metrics by scraping/proc.prometheus.exporter.rediscollects 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-rc.0. For Windows Docker containers, use grafana/agent:v0.32.0-rc.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-rc.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-rc.0. For Windows Docker containers, use grafana/agentctl:v0.32.0-rc.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-rc.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-rc.0"