From 8471dc2760294f197e8123d3795ab0308caf088b Mon Sep 17 00:00:00 2001 From: Paulin Todev Date: Fri, 12 Apr 2024 13:54:24 +0100 Subject: [PATCH] Update with v0.40.4 (#6855) --- CHANGELOG.md | 45 ++++++++++++++------- docs/sources/_index.md | 2 +- static/operator/defaults.go | 2 +- tools/gen-versioned-files/agent-version.txt | 2 +- 4 files changed, 33 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 511c76e44ee7..e817031cdefc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,16 +34,6 @@ Main (unreleased) ### 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 - - Add support for importing folders as single module to `import.file`. (@wildum) - Add support for importing directories as single module to `import.git`. (@wildum) @@ -56,9 +46,6 @@ Main (unreleased) - Add conversion from static to flow mode for `loki.source.windowsevent` via `legacy_bookmark_path`. (@mattdurham) -- In `prometheus.exporter.kafka`, the interpolation table used to compute estimated lag metrics is now pruned - on `metadata_refresh_interval` instead of `prune_interval_seconds`. (@wildum) - - Add ability to convert static mode positions file to `loki.source.file` compatible via `legacy_positions_file` argument. (@mattdurham) - Added support for `otelcol` configuration conversion in `grafana-agent convert` and `grafana-agent run` commands. (@rfratto, @erikbaranowski, @tpaschalis, @hainenber) @@ -82,8 +69,6 @@ Main (unreleased) - Fix an issue where the azure exporter was not correctly gathering subscription scoped metrics when only one region was configured (@kgeckhart) -- Update gcp_exporter to a newer version with a patch for incorrect delta histograms (@kgeckhart) - - Fix an issue where the default values of some component's arguments change whenever that argument is explicitly configured. This issue only affected a small subset of arguments across 15 components. (@erikbaranowski, @rfratto) @@ -105,6 +90,36 @@ Main (unreleased) - Resync defaults for `otelcol.exporter.otlp` and `otelcol.exporter.otlphttp` with upstream. (@hainenber) +v0.40.4 (2024-04-12) +-------------------- + +### Security fixes + +- Fixes following vulnerabilities (@ptodev) + * [CVE-2024-27304](https://github.com/advisories/GHSA-mrww-27vc-gghv) + * [CVE-2024-27289](https://github.com/advisories/GHSA-m7wr-2xf7-cm9p) + * [CVE-2024-28180](https://github.com/advisories/GHSA-c5q2-7r4c-mv6g) + * [CVE-2024-24786](https://github.com/advisories/GHSA-8r3f-844c-mc37) + +### 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 + on `metadata_refresh_interval` instead of `prune_interval_seconds`. (@wildum) + +### Bugfixes + +- Update gcp_exporter to a newer version with a patch for incorrect delta histograms (@kgeckhart) + v0.40.3 (2024-03-14) -------------------- diff --git a/docs/sources/_index.md b/docs/sources/_index.md index 41197e53ae06..c9c05b1f5951 100644 --- a/docs/sources/_index.md +++ b/docs/sources/_index.md @@ -9,7 +9,7 @@ title: Grafana Agent description: Grafana Agent is a flexible, performant, vendor-neutral, telemetry collector weight: 350 cascade: - AGENT_RELEASE: v0.40.3 + AGENT_RELEASE: v0.40.4 OTEL_VERSION: v0.96.0 --- diff --git a/static/operator/defaults.go b/static/operator/defaults.go index 738f8568c22f..e6bd8a11243b 100644 --- a/static/operator/defaults.go +++ b/static/operator/defaults.go @@ -2,7 +2,7 @@ package operator // Supported versions of the Grafana Agent. var ( - DefaultAgentVersion = "v0.40.3" + DefaultAgentVersion = "v0.40.4" DefaultAgentBaseImage = "grafana/agent" DefaultAgentImage = DefaultAgentBaseImage + ":" + DefaultAgentVersion ) diff --git a/tools/gen-versioned-files/agent-version.txt b/tools/gen-versioned-files/agent-version.txt index 6b9756203991..be5fccfd8b1f 100644 --- a/tools/gen-versioned-files/agent-version.txt +++ b/tools/gen-versioned-files/agent-version.txt @@ -1 +1 @@ -v0.40.3 +v0.40.4