Grafana Agent
Notes
Grafana Agent has reached End-of-Life (EOL) on November 1, 2025. It is recommended migrating to the Grafana Alloy collector, which is built on the foundation of Grafana Agent Flow.
This is release v0.40.2 of Grafana Agent.
Upgrading
Read the relevant upgrade guides for specific instructions on upgrading from older versions:
Notable changes:
Bugfixes
- Set permissions on the Grafana Agent [Flow] folder when installing via the windows installer rather than relying on the parent folder permissions. (@erikbaranowski)
- Set restricted viewing permissions on the agent-config.yaml (static mode) or config.river (flow mode) when installing via the Windows installer if the configuration file does not already exist. (@erikbaranowski)
- Fix an issue where the import config node would not run after a config reload. (@wildum)
- Fix an issue where Loki could reject a batch of logs when structured metadata feature is used. (@thampiotr)
- Fix a duplicate metrics registration panic when recreating static mode metric instance's write handler. (@rfratto, @hainenber)
Other changes
- Change the Docker base image for Linux containers to public.ecr.aws/ubuntu/ubuntu:mantic. (@hainenber)
Installation
Refer to our installation guides for how to install the variants of Grafana Agent: