v0.33.0-rc.0
Pre-releaseThis is release v0.33.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 32-bit ARM builds is removed for the foreseeable future due to Go
compiler issues. We will consider bringing back 32-bit ARM support once our Go
compiler issues are resolved and 32-bit ARM builds are stable. -
Agent Management:
agent_management.api_urlconfig field has been replaced by
agent_management.host. The API path and version is now defined by the Agent. -
Agent Management:
agent_management.protocolconfig field now allows defining "http" and "https" explicitly. Previously, "http" was previously used for both, with the actual protocol used inferred from the api url, which led to confusion. When upgrading, make sure to set to "https" when replacingapi_urlwithhost. -
Agent Management:
agent_management.remote_config_cache_locationconfig field has been replaced by
agent_management.remote_configuration.cache_location.
Deprecations
- Dynamic Configuration will be removed in v0.34. Grafana Agent Flow supersedes this functionality.
Features
-
New Grafana Agent Flow components:
discovery.dnsDNS service discovery.discovery.ec2service discovery for aws ec2.discovery.lightsailservice discovery for aws lightsail.module.fileruns a Grafana Agent Flow module loaded from a file on disk.module.gitruns a Grafana Agent Flow module loaded from a file within a
Git repository.module.stringruns a Grafana Agent Flow module passed to the component by
an expression containing a string.otelcol.auth.oauth2performs OAuth 2.0 authentication for HTTP and gRPC
based OpenTelemetry exporters.otelcol.extension.jaeger_remote_samplingprovides an endpoint from which to
pull Jaeger remote sampling documents.prometheus.exporter.blackboxcollects metrics from Blackbox exporter.prometheus.exporter.loggingaccepts OpenTelemetry data from otherotelcolcomponents and writes it to the console.prometheus.exporter.mysqlcollects metrics from a MySQL database.prometheus.exporter.postgrescollects metrics from a PostgreSQL database.prometheus.exporter.statsdcollects metrics from a Statsd instance.prometheus.exporter.snmpcollects metrics from SNMP exporter.prometheus.operator.podmonitorsdiscovers PodMonitor resources in your Kubernetes cluster and scrape
the targets they reference.otelcol.auth.sigv4performs AWS Signature Version 4 (SigV4) authentication
for making requests to AWS services viaotelcolcomponents that support
authentication extensions.prometheus.exporter.memcachedcollects metrics from a Memcached server.loki.source.azure_event_hubsreads messages from Azure Event Hub using Kafka and forwards them to otherloki
components.discovery.gcediscovers resources on Google Compute Engine (GCE).discovery.digitaloceanprovides service discovery for DigitalOcean.otelcol.processor.attributesaccepts telemetry data from otherotelcol
components and modifies attributes of a span, log, or metric.prometheus.exporter.windowscollects metrics from a Windows instance.discovery.consulservice discovery for Consul.discovery.azureprovides service discovery for Azure.
-
Add support for Flow-specific system packages:
- Flow-specific DEB packages.
- Flow-specific RPM packages.
- Flow-specific macOS Homebrew Formula.
- Flow-specific Windows installer.
The Flow-specific packages allow users to install and run Grafana Agent Flow
alongside an existing installation of Grafana Agent. -
Agent Management: Add support for integration snippets.
-
Flow: Introduce a gossip-over-HTTP/2 clustered mode.
prometheus.scrape
component instances can opt-in to distributing scrape load between cluster
peers.
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.33.0-rc.0. For Windows Docker containers, use grafana/agent:v0.33.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.33.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.33.0-rc.0. For Windows Docker containers, use grafana/agentctl:v0.33.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.33.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.33.0-rc.0"