chore(deps): update grafana-agent docker tag to v0.40.0
This MR contains the following updates:
Package | Update | Change |
---|---|---|
grafana-agent | minor |
v0.39.2 -> v0.40.0
|
Release Notes
grafana/agent (grafana-agent)
v0.40.0
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 the
declare
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)
Enhancements
-
Include line numbers in profiles produced by
pyrsocope.java
component. (@korniltsev) -
Add an option to the windows static mode installer for expanding environment vars in the yaml config. (@erikbaranowski)
-
Add authentication support to
loki.source.awsfirehose
(@sberz) -
Sort kubelet endpoint to reduce pressure on K8s's API server and watcher endpoints. (@hainenber)
-
Expose
physical_disk
collector fromwindows_exporter
v0.24.0 to Flow configuration. (@hainenber) -
Renamed Grafana Agent Mixin's "prometheus.remote_write" dashboard to "Prometheus Components" and added charts for
prometheus.scrape
success rate and duration metrics. (@thampiotr) -
Removed
ClusterLamportClockDrift
andClusterLamportClockStuck
alerts from Grafana Agent Mixin to focus on alerting on symptoms. (@thampiotr) -
Increased clustering alert periods to 10 minutes to improve the signal-to-noise ratio in Grafana Agent Mixin. (@thampiotr)
-
mimir.rules.kubernetes
has a newprometheus_http_prefix
argument to configure the HTTP endpoint on which to connect to Mimir's API. (@hainenber) -
service_name
label is inferred from discovery meta labels inpyroscope.java
(@korniltsev) -
Mutex and block pprofs are now available via the pprof endpoint. (@mattdurham)
-
Added an error log when the config fails to reload. (@kurczynski)
-
Added additional http client proxy configurations to components for
no_proxy
,proxy_from_environment
, andproxy_connect_header
. (@erikbaranowski) -
Batch staleness tracking to reduce mutex contention and increase performance. (@mattdurham)
-
Python profiling using eBPF is now aggregated now by kernel space. MR (@korniltsev)
Bugfixes
-
Fix an issue in
remote.s3
where the exported content of an object would be an empty string ifremote.s3
failed to fully retrieve the file in a single read call. (@grafana/agent-squad) -
Utilize the
instance
Argument ofprometheus.exporter.kafka
when set. (@akhmatov-s) -
Fix a duplicate metrics registration panic when sending metrics to an static mode metric instance's write handler. (@tpaschalis)
-
Fix issue causing duplicate logs when a docker target is restarted. (@captncraig)
-
Fix an issue where blocks having the same type and the same label across modules could result in missed updates. (@thampiotr)
-
Fix an issue with static integrations-next marshaling where non singletons would cause
/-/config
to fail to marshal. (@erikbaranowski) -
Fix an issue where agent logs are emitted before the logging format is correctly determined. (@hainenber)
-
Fix divide-by-zero issue when sharding targets. (@hainenber)
-
Fix bug where custom headers were not actually being set in loki client. (@captncraig)
-
Fix missing measurement type field in the KeyVal() conversion function for measurments. @vanugrah)
-
Fix
ResolveEndpointV2 not found
for AWS-related components. (@hainenber) -
Fix OTEL metrics not getting collected after reload. (@hainenber)
-
Fix bug in
pyroscope.ebpf
component when elf's PT_LOAD section is not page aligned. MR (@korniltsev) -
Pyroscope eBPF profiling now respects the PID namespace Grafana Agent is running in. MR (@simonswine)
-
Fix an issue where the configuration of the
http
andremotecfg
blocks get ignored after loading a module. (@erikbaranowski) -
Fix an issue where changing the configuration of
loki.write
would cause a panic. (@rfratto)
Other changes
-
Removed support for Windows 2012 in line with Microsoft end of life. (@mattdurham)
-
Split instance ID and component groupings into separate panels for
remote write active series by component
in the Flow mixin. (@tristanburgess) -
Updated dependency to add support for Go 1.22 (@stefanb)
-
Use Go 1.22 for builds. (@rfratto)
-
Updated docs for MSSQL Integration to show additional authentication capabilities. (@StefanKurek)
-
grafana-agent
andgrafana-agent-flow
fallback to default X.509 trusted root certificates when theGODEBUG=x509usefallbackroots=1
environment variable is set. (@hainenber)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot. The local configuration can be found in the local Renovate Bot repository.