Grafana Agent

grafana/agent last check crawl paused · since 2026-09-25 99 releases
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.

Release notes
0.40.5 · 1y+
view on github

This is release v0.40.5 of Grafana Agent.

Upgrading

Read the relevant upgrade guides for specific instructions on upgrading from older versions:

Notable changes:

Breaking changes

  • prometheus.exporter.postgres has been updated to the latest upstream version which changes the set of exported metrics. (@thampiotr)
    • The following metrics were removed: pg_stat_database_session_time, pg_stat_database_sessions, pg_stat_database_sessions_abandoned, pg_stat_database_sessions_fatal, pg_stat_database_sessions_killed, pg_stat_database_idle_in_transaction_time, pg_stat_database_checksum_failures, pg_stat_database_checksum_last_failure, pg_stat_database_active_time.
    • The following metrics were renamed: pg_stat_bgwriter_buffers_alloc, pg_stat_bgwriter_buffers_backend, pg_stat_bgwriter_buffers_backend_fsync, pg_stat_bgwriter_buffers_checkpoint, pg_stat_bgwriter_buffers_clean, pg_stat_bgwriter_checkpoint_sync_time, pg_stat_bgwriter_checkpoint_write_time, pg_stat_bgwriter_checkpoints_req, pg_stat_bgwriter_checkpoints_timed, pg_stat_bgwriter_maxwritten_clean, pg_stat_bgwriter_stats_reset - the new names include the _total suffix.

Bugfixes

  • Fix an issue where the azure exporter was not correctly gathering subscription scoped metrics when only one region was configured (@kgeckhart)

  • Fixed an issue where creating a prometheus.exporter.postgres component with multiple data_source_names would result in an error. (@thampiotr)

  • Fix a bug with the logs pipeline in static mode which prevented it from shutting down cleanly. (@ptodev)

Other changes

  • Updating SNMP exporter from v0.24.1 to v0.26.0. (@ptodev)

Installation

Refer to our installation guides for how to install the variants of Grafana Agent: