From 1af6f534dfa4b18142f7617e1b2d15bc8548496f Mon Sep 17 00:00:00 2001 From: Paschalis Tsilias Date: Thu, 26 Oct 2023 12:40:59 +0300 Subject: [PATCH] all: update version string everywhere for v0.37.3 (#5605) (#5606) Signed-off-by: Paschalis Tsilias (cherry picked from commit cc7d382583016c0974f6d5fab53ce46503ef9ac9) --- CHANGELOG.md | 24 +++++++++++++++++++ docs/sources/_index.md | 2 +- pkg/operator/defaults.go | 2 +- production/kubernetes/agent-bare.yaml | 2 +- production/kubernetes/agent-loki.yaml | 2 +- production/kubernetes/agent-traces.yaml | 2 +- .../kubernetes/build/lib/version.libsonnet | 2 +- .../build/templates/operator/main.jsonnet | 4 ++-- production/kubernetes/install-bare.sh | 2 +- .../operator/templates/agent-operator.yaml | 4 ++-- .../tanka/grafana-agent/v1/main.libsonnet | 4 ++-- .../grafana-agent/v2/internal/base.libsonnet | 4 ++-- .../v2/internal/syncer.libsonnet | 2 +- tools/gen-versioned-files/agent-version.txt | 2 +- 14 files changed, 41 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 26730e874c55..c89276666fee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,30 @@ This document contains a historical list of changes between releases. Only changes that impact end-user behavior are listed; changes to documentation or internal API changes are not present. +v0.37.3 (2023-10-26) +----------------- + +### Bugfixes + +- Fixed an issue where native histogram time series were being dropped silently. (@krajorama) + +- Fix an issue where `remote.vault` ignored the `namespace` argument. (@rfratto) + +- Fix an issue with static mode and `promtail` converters, where static targets + did not correctly default to `localhost` when not provided. (@thampiotr) + +- Fixed some converter diagnostics so they show as warnings rather than errors. Improve + clarity for various diagnostics. (@erikbaranowski) + +- Wire up the agent exporter integration for the static converter. (@erikbaranowski) + +### Enhancements + +- Upgrade OpenTelemetry Collector packages to version 0.87 (@ptodev): + - `otelcol.receiver.kafka` has a new `header_extraction` block to extract headers from Kafka records. + - `otelcol.receiver.kafka` has a new `version` argument to change the version of + the SASL Protocol for SASL authentication. + v0.37.2 (2023-10-16) ----------------- diff --git a/docs/sources/_index.md b/docs/sources/_index.md index 6f2d00508349..613fff695641 100644 --- a/docs/sources/_index.md +++ b/docs/sources/_index.md @@ -8,7 +8,7 @@ title: Grafana Agent description: Grafana Agent is a flexible, performant, vendor-neutral, telemetry collector weight: 350 cascade: - AGENT_RELEASE: v0.37.2 + AGENT_RELEASE: v0.37.3 OTEL_VERSION: v0.87.0 --- diff --git a/pkg/operator/defaults.go b/pkg/operator/defaults.go index 789c867acecc..e9907c4a4ae5 100644 --- a/pkg/operator/defaults.go +++ b/pkg/operator/defaults.go @@ -2,7 +2,7 @@ package operator // Supported versions of the Grafana Agent. var ( - DefaultAgentVersion = "v0.37.2" + DefaultAgentVersion = "v0.37.3" DefaultAgentBaseImage = "grafana/agent" DefaultAgentImage = DefaultAgentBaseImage + ":" + DefaultAgentVersion ) diff --git a/production/kubernetes/agent-bare.yaml b/production/kubernetes/agent-bare.yaml index a471e12915be..668d2b286a73 100644 --- a/production/kubernetes/agent-bare.yaml +++ b/production/kubernetes/agent-bare.yaml @@ -83,7 +83,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.37.2 + image: grafana/agent:v0.37.3 imagePullPolicy: IfNotPresent name: grafana-agent ports: diff --git a/production/kubernetes/agent-loki.yaml b/production/kubernetes/agent-loki.yaml index e3f93ee35231..dabcbb9f03b4 100644 --- a/production/kubernetes/agent-loki.yaml +++ b/production/kubernetes/agent-loki.yaml @@ -65,7 +65,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.37.2 + image: grafana/agent:v0.37.3 imagePullPolicy: IfNotPresent name: grafana-agent-logs ports: diff --git a/production/kubernetes/agent-traces.yaml b/production/kubernetes/agent-traces.yaml index 92d67e6528e3..ee15687e834c 100644 --- a/production/kubernetes/agent-traces.yaml +++ b/production/kubernetes/agent-traces.yaml @@ -114,7 +114,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.37.2 + image: grafana/agent:v0.37.3 imagePullPolicy: IfNotPresent name: grafana-agent-traces ports: diff --git a/production/kubernetes/build/lib/version.libsonnet b/production/kubernetes/build/lib/version.libsonnet index 54c982231ef1..b9571fb91726 100644 --- a/production/kubernetes/build/lib/version.libsonnet +++ b/production/kubernetes/build/lib/version.libsonnet @@ -1 +1 @@ -'grafana/agent:v0.37.2' +'grafana/agent:v0.37.3' diff --git a/production/kubernetes/build/templates/operator/main.jsonnet b/production/kubernetes/build/templates/operator/main.jsonnet index 1b27d4df15b3..e92dfa9ae4d7 100644 --- a/production/kubernetes/build/templates/operator/main.jsonnet +++ b/production/kubernetes/build/templates/operator/main.jsonnet @@ -23,8 +23,8 @@ local ksm = import 'kube-state-metrics/kube-state-metrics.libsonnet'; local this = self, _images:: { - agent: 'grafana/agent:v0.37.2', - agent_operator: 'grafana/agent-operator:v0.37.2', + agent: 'grafana/agent:v0.37.3', + agent_operator: 'grafana/agent-operator:v0.37.3', ksm: 'registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.5.0', }, diff --git a/production/kubernetes/install-bare.sh b/production/kubernetes/install-bare.sh index c91dbe9392c2..ea25968e6bd3 100644 --- a/production/kubernetes/install-bare.sh +++ b/production/kubernetes/install-bare.sh @@ -25,7 +25,7 @@ check_installed() { check_installed curl check_installed envsubst -MANIFEST_BRANCH=v0.37.2 +MANIFEST_BRANCH=v0.37.3 MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent-bare.yaml} NAMESPACE=${NAMESPACE:-default} diff --git a/production/operator/templates/agent-operator.yaml b/production/operator/templates/agent-operator.yaml index da54bde278bf..863585a29b89 100644 --- a/production/operator/templates/agent-operator.yaml +++ b/production/operator/templates/agent-operator.yaml @@ -372,7 +372,7 @@ spec: containers: - args: - --kubelet-service=default/kubelet - image: grafana/agent-operator:v0.37.2 + image: grafana/agent-operator:v0.37.3 imagePullPolicy: IfNotPresent name: grafana-agent-operator serviceAccount: grafana-agent-operator @@ -436,7 +436,7 @@ metadata: name: grafana-agent namespace: ${NAMESPACE} spec: - image: grafana/agent:v0.37.2 + image: grafana/agent:v0.37.3 integrations: selector: matchLabels: diff --git a/production/tanka/grafana-agent/v1/main.libsonnet b/production/tanka/grafana-agent/v1/main.libsonnet index 4b94562f59eb..c21bb98e03c5 100644 --- a/production/tanka/grafana-agent/v1/main.libsonnet +++ b/production/tanka/grafana-agent/v1/main.libsonnet @@ -15,8 +15,8 @@ local service = k.core.v1.service; (import './lib/traces.libsonnet') + { _images:: { - agent: 'grafana/agent:v0.37.2', - agentctl: 'grafana/agentctl:v0.37.2', + agent: 'grafana/agent:v0.37.3', + agentctl: 'grafana/agentctl:v0.37.3', }, // new creates a new DaemonSet deployment of the grafana-agent. By default, diff --git a/production/tanka/grafana-agent/v2/internal/base.libsonnet b/production/tanka/grafana-agent/v2/internal/base.libsonnet index 08f34634bf16..16840b40aace 100644 --- a/production/tanka/grafana-agent/v2/internal/base.libsonnet +++ b/production/tanka/grafana-agent/v2/internal/base.libsonnet @@ -11,8 +11,8 @@ function(name='grafana-agent', namespace='') { local this = self, _images:: { - agent: 'grafana/agent:v0.37.2', - agentctl: 'grafana/agentctl:v0.37.2', + agent: 'grafana/agent:v0.37.3', + agentctl: 'grafana/agentctl:v0.37.3', }, _config:: { name: name, diff --git a/production/tanka/grafana-agent/v2/internal/syncer.libsonnet b/production/tanka/grafana-agent/v2/internal/syncer.libsonnet index 3f1f215d721f..35bb6f40a00e 100644 --- a/production/tanka/grafana-agent/v2/internal/syncer.libsonnet +++ b/production/tanka/grafana-agent/v2/internal/syncer.libsonnet @@ -14,7 +14,7 @@ function( ) { local _config = { api: error 'api must be set', - image: 'grafana/agentctl:v0.37.2', + image: 'grafana/agentctl:v0.37.3', schedule: '*/5 * * * *', configs: [], } + config, diff --git a/tools/gen-versioned-files/agent-version.txt b/tools/gen-versioned-files/agent-version.txt index c350e8f78a3f..7c49ad6429e3 100644 --- a/tools/gen-versioned-files/agent-version.txt +++ b/tools/gen-versioned-files/agent-version.txt @@ -1 +1 @@ -v0.37.2 +v0.37.3