Releases: grafana/agent
v0.40.5
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.
- The following metrics were removed:
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
multipledata_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:
v0.40.4
This is release v0.40.4
of Grafana Agent.
Upgrading
Read the relevant upgrade guides for specific instructions on upgrading from older versions:
Notable changes:
Security fixes
- Fixes following vulnerabilities (@ptodev)
Enhancements
-
Update
prometheus.exporter.kafka
with the following functionalities (@wildum):- GSSAPI config
- enable/disable PA_FX_FAST
- set a TLS server name
- show the offset/lag for all consumer group or only the connected ones
- set the minimum number of topics to monitor
- enable/disable auto-creation of requested topics if they don't already exist
- regex to exclude topics / groups
- added metric kafka_broker_info
-
In
prometheus.exporter.kafka
, the interpolation table used to compute estimated lag metrics is now pruned
onmetadata_refresh_interval
instead ofprune_interval_seconds
. (@wildum)
Bugfixes
- Update gcp_exporter to a newer version with a patch for incorrect delta histograms (@kgeckhart)
For a full list of changes, please refer to the CHANGELOG!
Installation
Refer to our installation guides for how to install the variants of Grafana Agent:
v0.40.3
This is release v0.40.3
of Grafana Agent.
Upgrading
Read the relevant upgrade guides for specific instructions on upgrading from older versions:
Notable changes:
Bugfixes
-
Fix a bug where structured metadata and parsed field are not passed further in
loki.source.api
(@marchellodev) -
Change
import.git
to use Git pulls rather than fetches to fix scenarios where the local code did not get updated. (@mattdurham)
Other changes
- Upgrade to Go 1.22.1 (@thampiotr)
For a full list of changes, please refer to the CHANGELOG!
Installation
Refer to our installation guides for how to install the variants of Grafana Agent:
v0.40.2
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:
v0.40.1
This is release v0.40.1
of Grafana Agent.
Upgrading
Read the relevant upgrade guides for specific instructions on upgrading from older versions:
Notable changes:
- Fix an issue where the logging config block would trigger an error when trying to send logs to components that were not running. (@wildum)
- Fix an issue where a custom component might be wired to a local declare instead of an import declare when they have the same label. (@wildum)
- Fix an issue where flow mode panics if the
logging
config block is given anull
Loki receiver to write log entries to. (@rfratto)
Installation
Refer to our installation guides for how to install the variants of Grafana Agent:
v0.40.0
This is release v0.40.0
of Grafana Agent.
Upgrading
Read the relevant upgrade guides for specific instructions on upgrading from older versions:
Notable changes:
Breaking changes
-
Prohibit the configuration of services within modules. (@wildum)
-
For
otelcol.exporter
components, change the default value ofdisable_high_cardinality_metrics
totrue
. (@ptodev) -
Rename component
prometheus.exporter.agent
toprometheus.exporter.self
to clear up ambiguity. (@hainenber)
Deprecations
- Module components have been deprecated in favor of import and declare configuration blocks. These deprecated components will be removed in the next release. (@wildum)
Features
-
Modules have been redesigned to split the import logic from the instantiation.
You can now define custom components via thedeclare
config block and import modules viaimport.git
,import.http
,import.string
,import.file
. (@wildum) -
A new
discovery.process
component for discovering Linux OS processes on the current host. (@korniltsev) -
A new
pyroscope.java
component for profiling Java processes using async-profiler. (@korniltsev) -
A new
otelcol.processor.resourcedetection
component which inserts resource attributes
to OTLP telemetry based on the host on which Grafana Agent is running. (@ptodev) -
Expose track_timestamps_staleness on Prometheus scraping, to fix the issue where container metrics live for 5 minutes after the container disappears. (@ptodev)
-
Introduce the
remotecfg
service that enables loading configuration from a
remote endpoint. (@tpaschalis) -
Add
otelcol.connector.host_info
component to gather usage metrics for cloud users. (@rlankfo, @jcreixell)
For a full list of changes, please refer to the CHANGELOG!
Installation
Refer to our installation guides for how to install the variants of Grafana Agent:
v0.40.0-rc.2
This is release v0.40.0-rc.2
of Grafana Agent.
Upgrading
Read the relevant upgrade guides for specific instructions on upgrading from older versions:
Notable changes:
Breaking changes
-
Prohibit the configuration of services within modules. (@wildum)
-
For
otelcol.exporter
components, change the default value ofdisable_high_cardinality_metrics
totrue
. (@ptodev) -
Rename component
prometheus.exporter.agent
toprometheus.exporter.self
to clear up ambiguity. (@hainenber)
Deprecations
- Module components have been deprecated in favor of import and declare configuration blocks. These deprecated components will be removed in the next release. (@wildum)
Features
-
Modules have been redesigned to split the import logic from the instantiation.
You can now define custom components via thedeclare
config block and import modules viaimport.git
,import.http
,import.string
,import.file
. (@wildum) -
A new
discovery.process
component for discovering Linux OS processes on the current host. (@korniltsev) -
A new
pyroscope.java
component for profiling Java processes using async-profiler. (@korniltsev) -
A new
otelcol.processor.resourcedetection
component which inserts resource attributes
to OTLP telemetry based on the host on which Grafana Agent is running. (@ptodev) -
Expose track_timestamps_staleness on Prometheus scraping, to fix the issue where container metrics live for 5 minutes after the container disappears. (@ptodev)
-
Introduce the
remotecfg
service that enables loading configuration from a
remote endpoint. (@tpaschalis) -
Add
otelcol.connector.host_info
component to gather usage metrics for cloud users. (@rlankfo, @jcreixell)
For a full list of changes, please refer to the CHANGELOG!
Installation
Refer to our installation guides for how to install the variants of Grafana Agent:
v0.40.0-rc.1
This is release v0.40.0-rc.1
of Grafana Agent.
Upgrading
Read the relevant upgrade guides for specific instructions on upgrading from older versions:
Notable changes:
Breaking changes
-
Prohibit the configuration of services within modules. (@wildum)
-
For
otelcol.exporter
components, change the default value ofdisable_high_cardinality_metrics
totrue
. (@ptodev) -
Rename component
prometheus.exporter.agent
toprometheus.exporter.self
to clear up ambiguity. (@hainenber)
Deprecations
- Module components have been deprecated in favor of import and declare configuration blocks. These deprecated components will be removed in the next release. (@wildum)
Features
-
Modules have been redesigned to split the import logic from the instantiation.
You can now define custom components via thedeclare
config block and import modules viaimport.git
,import.http
,import.string
,import.file
. (@wildum) -
A new
discovery.process
component for discovering Linux OS processes on the current host. (@korniltsev) -
A new
pyroscope.java
component for profiling Java processes using async-profiler. (@korniltsev) -
A new
otelcol.processor.resourcedetection
component which inserts resource attributes
to OTLP telemetry based on the host on which Grafana Agent is running. (@ptodev) -
Expose track_timestamps_staleness on Prometheus scraping, to fix the issue where container metrics live for 5 minutes after the container disappears. (@ptodev)
-
Introduce the
remotecfg
service that enables loading configuration from a
remote endpoint. (@tpaschalis) -
Add
otelcol.connector.host_info
component to gather usage metrics for cloud users. (@rlankfo, @jcreixell)
For a full list of changes, please refer to the CHANGELOG!
Installation
Refer to our installation guides for how to install the variants of Grafana Agent:
v0.40.0-rc.0
This is release v0.40.0-rc.0
of Grafana Agent.
Upgrading
Read the relevant upgrade guides for specific instructions on upgrading from older versions:
Notable changes:
Breaking changes
-
Prohibit the configuration of services within modules. (@wildum)
-
For
otelcol.exporter
components, change the default value ofdisable_high_cardinality_metrics
totrue
. (@ptodev) -
Rename component
prometheus.exporter.agent
toprometheus.exporter.self
to clear up ambiguity. (@hainenber)
Deprecations
- Module components have been deprecated in favor of import and declare configuration blocks. These deprecated components will be removed in the next release. (@wildum)
Features
-
Modules have been redesigned to split the import logic from the instantiation.
You can now define custom components via thedeclare
config block and import modules viaimport.git
,import.http
,import.string
,import.file
. (@wildum) -
A new
discovery.process
component for discovering Linux OS processes on the current host. (@korniltsev) -
A new
pyroscope.java
component for profiling Java processes using async-profiler. (@korniltsev) -
A new
otelcol.processor.resourcedetection
component which inserts resource attributes
to OTLP telemetry based on the host on which Grafana Agent is running. (@ptodev) -
Expose track_timestamps_staleness on Prometheus scraping, to fix the issue where container metrics live for 5 minutes after the container disappears. (@ptodev)
-
Introduce the
remotecfg
service that enables loading configuration from a
remote endpoint. (@tpaschalis) -
Add
otelcol.connector.host_info
component to gather usage metrics for cloud users. (@rlankfo, @jcreixell)
For a full list of changes, please refer to the CHANGELOG!
Installation
Refer to our installation guides for how to install the variants of Grafana Agent:
v0.39.2
This is release v0.39.2
of Grafana Agent.
Upgrading
Read the relevant upgrade guides for specific instructions on upgrading from older versions:
Notable changes:
Bugfixes
-
Fix error introduced in v0.39.0 preventing remote write to Amazon Managed Prometheus. (@captncraig)
-
An error will be returned in the converter from Static to Flow when
scrape_integration
is set
totrue
but noremote_write
is defined. (@erikbaranowski)
Installation
Refer to our installation guides for how to install the variants of Grafana Agent: