diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fc67def1f82..b8dd0b089a54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,27 @@ 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.2 (2023-10-16) +----------------- + +### Bugfixes + +- Fix the handling of the `--cluster.join-addresses` flag causing an invalid + comparison with the mutually-exclusive `--cluster.discover-peers`. (@tpaschalis) + +- Fix an issue with the static to flow converter for blackbox exporter modules + config not being included in the river output. (@erikbaranowski) + +### Enhancements + +- Update Prometheus dependency to v2.47.2. (@tpaschalis) + +- Allow Out of Order writing to the WAL for metrics. (@mattdurham) + +### Other changes + +- Use Go 1.21.3 for builds. (@tpaschalis) + v0.37.1 (2023-10-10) ----------------- diff --git a/docs/sources/_index.md b/docs/sources/_index.md index 642b6e6dc3f7..d693e70261d0 100644 --- a/docs/sources/_index.md +++ b/docs/sources/_index.md @@ -7,6 +7,8 @@ canonical: https://grafana.com/docs/agent/latest/ title: Grafana Agent description: Grafana Agent is a flexible, performant, vendor-neutral, telemetry collector weight: 350 +cascade: + AGENT_RELEASE: v0.37.2 --- # Grafana Agent diff --git a/pkg/operator/defaults.go b/pkg/operator/defaults.go index 59ea98669a8c..789c867acecc 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.1" + DefaultAgentVersion = "v0.37.2" DefaultAgentBaseImage = "grafana/agent" DefaultAgentImage = DefaultAgentBaseImage + ":" + DefaultAgentVersion ) diff --git a/production/kubernetes/agent-bare.yaml b/production/kubernetes/agent-bare.yaml index 4a84a679ef92..a471e12915be 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.1 + image: grafana/agent:v0.37.2 imagePullPolicy: IfNotPresent name: grafana-agent ports: diff --git a/production/kubernetes/agent-loki.yaml b/production/kubernetes/agent-loki.yaml index 2550cd6a7571..e3f93ee35231 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.1 + image: grafana/agent:v0.37.2 imagePullPolicy: IfNotPresent name: grafana-agent-logs ports: diff --git a/production/kubernetes/agent-traces.yaml b/production/kubernetes/agent-traces.yaml index 1fb5501c8558..92d67e6528e3 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.1 + image: grafana/agent:v0.37.2 imagePullPolicy: IfNotPresent name: grafana-agent-traces ports: diff --git a/production/kubernetes/build/lib/version.libsonnet b/production/kubernetes/build/lib/version.libsonnet index 3c0c2dc542fc..54c982231ef1 100644 --- a/production/kubernetes/build/lib/version.libsonnet +++ b/production/kubernetes/build/lib/version.libsonnet @@ -1 +1 @@ -'grafana/agent:v0.37.1' +'grafana/agent:v0.37.2' diff --git a/production/kubernetes/build/templates/operator/main.jsonnet b/production/kubernetes/build/templates/operator/main.jsonnet index 18c53173d526..1b27d4df15b3 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.1', - agent_operator: 'grafana/agent-operator:v0.37.1', + agent: 'grafana/agent:v0.37.2', + agent_operator: 'grafana/agent-operator:v0.37.2', 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 ff06be34f772..c91dbe9392c2 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.1 +MANIFEST_BRANCH=v0.37.2 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 dc618b85099c..da54bde278bf 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.1 + image: grafana/agent-operator:v0.37.2 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.1 + image: grafana/agent:v0.37.2 integrations: selector: matchLabels: diff --git a/production/tanka/grafana-agent/v1/main.libsonnet b/production/tanka/grafana-agent/v1/main.libsonnet index 051e7a45e7b6..4b94562f59eb 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.1', - agentctl: 'grafana/agentctl:v0.37.1', + agent: 'grafana/agent:v0.37.2', + agentctl: 'grafana/agentctl:v0.37.2', }, // 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 553feb15012a..08f34634bf16 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.1', - agentctl: 'grafana/agentctl:v0.37.1', + agent: 'grafana/agent:v0.37.2', + agentctl: 'grafana/agentctl:v0.37.2', }, _config:: { name: name, diff --git a/production/tanka/grafana-agent/v2/internal/syncer.libsonnet b/production/tanka/grafana-agent/v2/internal/syncer.libsonnet index 633ae5d519fe..3f1f215d721f 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.1', + image: 'grafana/agentctl:v0.37.2', schedule: '*/5 * * * *', configs: [], } + config, diff --git a/tools/gen-versioned-files/agent-version.txt b/tools/gen-versioned-files/agent-version.txt new file mode 100644 index 000000000000..c350e8f78a3f --- /dev/null +++ b/tools/gen-versioned-files/agent-version.txt @@ -0,0 +1 @@ +v0.37.2