This repository was archived by the owner on Jul 28, 2026. It is now read-only.
v0.31.0 #2876
ptodev
started this conversation in
Announcements
v0.31.0
#2876
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This is release
v0.31.0of the Grafana Agent.Upgrading
Read the upgrade guide for specific instructions on upgrading from older versions.
Notable changes:
Breaking changes
Release binaries (including inside Docker containers) have been renamed to be
prefixed with
grafana-(@rfratto):agentis nowgrafana-agent.agentctlis nowgrafana-agentctl.agent-operatoris nowgrafana-agent-operator.Deprecations
binary name has been added. These symbolic links will be removed in v0.33. (@rfratto)
Features
New Grafana Agent Flow components:
loki.source.cloudflarereads logs from Cloudflare's Logpull API andforwards them to other
lokicomponents. (@tpaschalis)loki.source.gcplogreads logs from GCP cloud resources using Pub/Subsubscriptions and forwards them to other
lokicomponents. (@tpaschalis)loki.source.gelflistens for Graylog logs. (@mattdurham)loki.source.herokulistens for Heroku messages over TCP a connection andforwards them to other
lokicomponents. (@erikbaranowski)loki.source.journalread messages from systemd journal. (@mattdurham)loki.source.kubernetescollects logs from Kubernetes pods using theKubernetes API. (@rfratto)
loki.source.podlogsdiscovers PodLogs resources on Kubernetes anduses the Kubernetes API to collect logs from the pods specified by the
PodLogs resource. (@rfratto)
loki.source.sysloglistens for Syslog messages over TCP and UDPconnections and forwards them to other
lokicomponents. (@tpaschalis)loki.source.windowseventreads logs from Windows Event Log. (@mattdurham)otelcol.exporter.jaegerforwards OpenTelemetry data to a Jaeger server.(@erikbaranowski)
otelcol.exporter.lokiforwards OTLP-formatted data to compatiblelokireceivers. (@tpaschalis)
otelcol.receiver.kafkareceives telemetry data from Kafka. (@rfratto)otelcol.receiver.lokireceives Loki logs, converts them to the OTLP logformat and forwards them to other
otelcolcomponents. (@tpaschalis)otelcol.receiver.opencensusreceives OpenConsensus-formatted traces ormetrics. (@ptodev)
otelcol.receiver.zipkinreceives Zipkin-formatted traces. (@rfratto)phlare.scrapecollects application performance profiles. (@cyriltovena)phlare.writesends application performance profiles to Grafana Phlare.(@cyriltovena)
mimir.rules.kubernetesdiscoversPrometheusRuleKubernetes resources andloads them into a Mimir instance. (@Logiraptor)
Flow components which work with relabeling rules (
discovery.relabel,prometheus.relabelandloki.relabel) now export a new value named Rules.This value returns a copy of the currently configured rules. (@tpaschalis)
New experimental feature: agent-management. Polls configured remote API to fetch new configs. (@spartan0x117)
Introduce global configuration for logs. (@jcreixell)
Enhancements
Handle faro-web-sdk
Viewmeta in app_agent_receiver. (@rlankfo)Grafana Agent Operator: add promtail limit stage to the operator. (@spartan0x117)
Bugfixes
Flow UI: Fix the issue with messy layout on the component list page while browser window resize. (@xiyu95)
Flow UI: Display the values of all attributes unless they are nil. (@ptodev)
Flow: Fix issue where negative numbers would convert to floating-point values
incorrectly, treating the sign flag as part of the number. (@rfratto)
Flow: fix a goroutine leak when
loki.source.fileis passed more than onetarget with identical set of public labels. (@rfratto)
Fix issue where removing and re-adding log instance configurations causes an
error due to double registration of metrics (@spartan0x117, @jcreixell)
Other changes
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.31.0. For Windows Docker containers, usegrafana/agent:v0.31.0-windowsinstead.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
linuxoperating system onamd64:agentctlagentctl, a tool for helping you interact with the Agent, is available as a Docker image:Docker containers are published as
grafana/agentctl:v0.31.0. For Windows Docker containers, usegrafana/agentctl:v0.31.0-windowsinstead.Or as a binary. Like before, choose the assets below that matches your operating system. For example, with
linuxonamd64:agent-operatoragent-operator, a Kubernetes Operator for the Grafana Agent, is available only as a Docker image:docker pull "grafana/agent-operator:v0.31.0"This discussion was created from the release v0.31.0.
All reactions