Skip to content

chore(deps): update grafana-agent docker tag to v0.40.0

Tortoise caretaker requested to merge renovate/grafana-agent-0.x into next

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

Compare Source

Breaking changes
  • Prohibit the configuration of services within modules. (@​wildum)

  • For otelcol.exporter components, change the default value of disable_high_cardinality_metrics to true. (@​ptodev)

  • Rename component prometheus.exporter.agent to prometheus.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 via import.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 from windows_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 and ClusterLamportClockStuck 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 new prometheus_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 in pyroscope.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, and proxy_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 if remote.s3 failed to fully retrieve the file in a single read call. (@​grafana/agent-squad)

  • Utilize the instance Argument of prometheus.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 and remotecfg 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 and grafana-agent-flow fallback to default X.509 trusted root certificates when the GODEBUG=x509usefallbackroots=1 environment variable is set. (@​hainenber)


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • 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.

Merge request reports