From bee50d0a6c17ffad608cc2a8accba659383f7f2e Mon Sep 17 00:00:00 2001 From: Robert Fratto Date: Wed, 8 Sep 2021 09:34:30 -0400 Subject: [PATCH] prepare for v0.18.3 release --- CHANGELOG.md | 38 ++++++++++--------- .../integrations/node-exporter-config.md | 4 +- .../integrations/process-exporter-config.md | 4 +- docs/getting-started/_index.md | 2 +- docs/operator/getting-started.md | 4 +- pkg/operator/defaults.go | 1 + production/README.md | 2 +- production/grafanacloud-install.sh | 2 +- production/kubernetes/agent-bare.yaml | 2 +- production/kubernetes/agent-loki.yaml | 2 +- production/kubernetes/agent-tempo.yaml | 2 +- .../kubernetes/build/lib/version.libsonnet | 2 +- production/kubernetes/install-bare.sh | 2 +- .../tanka/grafana-agent/v1/main.libsonnet | 4 +- .../grafana-agent/v2/internal/base.libsonnet | 4 +- .../v2/internal/syncer.libsonnet | 2 +- 16 files changed, 41 insertions(+), 36 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f70a5a2d54ae..5131ce1c2495 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,7 +39,8 @@ for specific instructions. to be a member of the adm and systemd-journal groups. This will allow logs to read from journald and /var/log by default. (@rfratto) -- [BUGFIX] Fix collecting filesystem metrics on Mac OS (darwin) in the `node_exporter` integration default config. (@eamonryan) +- [BUGFIX] Fix collecting filesystem metrics on Mac OS (darwin) in the + `node_exporter` integration default config. (@eamonryan) - [BUGFIX] Fix info logging on windows. (@mattdurham) @@ -55,20 +56,6 @@ for specific instructions. - [BUGFIX] Fix yaml marshalling tag for cert_file in kafka exporter agent config. (@rgeyer) -- [BUGFIX] Register missing metric for configstore consul request duration. - (@rfratto) - -- [BUGFIX] Logs should contain a caller field with file and line numbers again (@kgeckhart) - -- [BUGFIX] In scraping service mode, the polling configuration refresh should honor timeout. (@mattdurham) - -- [BUGFIX] In scraping service mode, the lifecycle reshard should happen using a goroutine. (@mattdurham) - -- [BUGFIX] In scraping service mode, scraping service can deadlock when reloading during join. (@mattdurham) - -- [BUGFIX] Scraping service: prevent more than one refresh from being queued at - a time. (@rfratto) - - [CHANGE] Breaking change: reduced verbosity of tracing autologging by not logging `STATUS_CODE_UNSET` status codes. (@mapno) @@ -90,8 +77,25 @@ for specific instructions. also been deprecated in favor of the same flags with the `metrics.` prefix. (@rfratto) -- [ENHANCEMENT] `agentctl cloud-config` now allows specifying an url for - Grafana Cloud's API. (@cristiangreco) +# v0.18.3 (2021-09-08) + +- [BUGFIX] Register missing metric for configstore consul request duration. + (@rfratto) + +- [BUGFIX] Logs should contain a caller field with file and line numbers again + (@kgeckhart) + +- [BUGFIX] In scraping service mode, the polling configuration refresh should + honor timeout. (@mattdurham) + +- [BUGFIX] In scraping service mode, the lifecycle reshard should happen using a + goroutine. (@mattdurham) + +- [BUGFIX] In scraping service mode, scraping service can deadlock when + reloading during join. (@mattdurham) + +- [BUGFIX] Scraping service: prevent more than one refresh from being queued at + a time. (@rfratto) # v0.18.2 (2021-08-12) diff --git a/docs/configuration/integrations/node-exporter-config.md b/docs/configuration/integrations/node-exporter-config.md index b6845a742f39..8fc42d2d9805 100644 --- a/docs/configuration/integrations/node-exporter-config.md +++ b/docs/configuration/integrations/node-exporter-config.md @@ -26,7 +26,7 @@ docker run \ -v "/proc:/host/proc:ro,rslave" \ -v /tmp/agent:/etc/agent \ -v /path/to/config.yaml:/etc/agent-config/agent.yaml \ - grafana/agent:v0.15.0 \ + grafana/agent:v0.18.3 \ --config.file=/etc/agent-config/agent.yaml ``` @@ -66,7 +66,7 @@ metadata: name: agent spec: containers: - - image: grafana/agent:v0.15.0 + - image: grafana/agent:v0.18.3 name: agent args: - --config.file=/etc/agent-config/agent.yaml diff --git a/docs/configuration/integrations/process-exporter-config.md b/docs/configuration/integrations/process-exporter-config.md index 00411a5953c1..3d6295ed7560 100644 --- a/docs/configuration/integrations/process-exporter-config.md +++ b/docs/configuration/integrations/process-exporter-config.md @@ -18,7 +18,7 @@ docker run \ -v "/proc:/proc:ro" \ -v /tmp/agent:/etc/agent \ -v /path/to/config.yaml:/etc/agent-config/agent.yaml \ - grafana/agent:v0.15.0 \ + grafana/agent:v0.18.3 \ --config.file=/etc/agent-config/agent.yaml ``` @@ -35,7 +35,7 @@ metadata: name: agent spec: containers: - - image: grafana/agent:v0.18.1 + - image: grafana/agent:v0.18.3 name: agent args: - --config.file=/etc/agent-config/agent.yaml diff --git a/docs/getting-started/_index.md b/docs/getting-started/_index.md index 95758ade1cad..487fa22c0ac5 100644 --- a/docs/getting-started/_index.md +++ b/docs/getting-started/_index.md @@ -24,7 +24,7 @@ Currently, there are six ways to install the agent: docker run \ -v /tmp/agent:/etc/agent/data \ -v /path/to/config.yaml:/etc/agent/agent.yaml \ - grafana/agent:v0.18.1 + grafana/agent:v0.18.3 ``` Replace `/tmp/agent` with the folder you wish to store WAL data in. WAL data is diff --git a/docs/operator/getting-started.md b/docs/operator/getting-started.md index e5ddbb26d3c7..58b9b357adba 100644 --- a/docs/operator/getting-started.md +++ b/docs/operator/getting-started.md @@ -62,7 +62,7 @@ spec: serviceAccountName: grafana-agent-operator containers: - name: operator - image: grafana/agent-operator:v0.18.2 + image: grafana/agent-operator:v0.18.3 --- apiVersion: v1 @@ -156,7 +156,7 @@ metadata: labels: app: grafana-agent spec: - image: grafana/agent:v0.18.2 + image: grafana/agent:v0.18.3 logLevel: info serviceAccountName: grafana-agent metrics: diff --git a/pkg/operator/defaults.go b/pkg/operator/defaults.go index d4b349250c72..8b8383dcfa2f 100644 --- a/pkg/operator/defaults.go +++ b/pkg/operator/defaults.go @@ -11,6 +11,7 @@ var ( "v0.18.0", "v0.18.1", "v0.18.2", + "v0.18.3", // NOTE(rfratto): when performing an upgrade, add the newest version above instead of changing the existing reference. } diff --git a/production/README.md b/production/README.md index 8c7e25b9964d..4d9e83310b2b 100644 --- a/production/README.md +++ b/production/README.md @@ -26,7 +26,7 @@ directory on your host that you want the agent to store its WAL. docker run \ -v /tmp/agent:/etc/agent/data \ -v /path/to/config.yaml:/etc/agent/agent.yaml \ - grafana/agent:v0.18.2 + grafana/agent:v0.18.3 ``` ## Running the Agent locally diff --git a/production/grafanacloud-install.sh b/production/grafanacloud-install.sh index 8bf444a98fbb..484ad9d25e5f 100755 --- a/production/grafanacloud-install.sh +++ b/production/grafanacloud-install.sh @@ -48,7 +48,7 @@ PACKAGE_SYSTEM=${PACKAGE_SYSTEM:=} # # Global constants. # -RELEASE_VERSION="0.18.2" +RELEASE_VERSION="0.18.3" RELEASE_URL="https://github.com/grafana/agent/releases/download/v${RELEASE_VERSION}" DEB_URL="${RELEASE_URL}/grafana-agent-${RELEASE_VERSION}-1.${ARCH}.deb" diff --git a/production/kubernetes/agent-bare.yaml b/production/kubernetes/agent-bare.yaml index 1a59d4c6d0af..e4eaaeaf3d8a 100644 --- a/production/kubernetes/agent-bare.yaml +++ b/production/kubernetes/agent-bare.yaml @@ -66,7 +66,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.18.2 + image: grafana/agent:v0.18.3 imagePullPolicy: IfNotPresent name: agent ports: diff --git a/production/kubernetes/agent-loki.yaml b/production/kubernetes/agent-loki.yaml index bd67e82aeb0e..79a28c3f473d 100644 --- a/production/kubernetes/agent-loki.yaml +++ b/production/kubernetes/agent-loki.yaml @@ -64,7 +64,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.18.2 + image: grafana/agent:v0.18.3 imagePullPolicy: IfNotPresent name: agent ports: diff --git a/production/kubernetes/agent-tempo.yaml b/production/kubernetes/agent-tempo.yaml index cd957541818a..491e1147b79e 100644 --- a/production/kubernetes/agent-tempo.yaml +++ b/production/kubernetes/agent-tempo.yaml @@ -109,7 +109,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.18.2 + image: grafana/agent:v0.18.3 imagePullPolicy: IfNotPresent name: agent ports: diff --git a/production/kubernetes/build/lib/version.libsonnet b/production/kubernetes/build/lib/version.libsonnet index 4556cb14d30d..426899694e1a 100644 --- a/production/kubernetes/build/lib/version.libsonnet +++ b/production/kubernetes/build/lib/version.libsonnet @@ -1 +1 @@ -'grafana/agent:v0.18.2' +'grafana/agent:v0.18.3' diff --git a/production/kubernetes/install-bare.sh b/production/kubernetes/install-bare.sh index b9ac0b71ce2d..bc1499aa0186 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.18.2 +MANIFEST_BRANCH=v0.18.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/tanka/grafana-agent/v1/main.libsonnet b/production/tanka/grafana-agent/v1/main.libsonnet index 97856347e253..b53ab48c5fbd 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/tempo.libsonnet') + { _images:: { - agent: 'grafana/agent:v0.18.2', - agentctl: 'grafana/agentctl:v0.18.2', + agent: 'grafana/agent:v0.18.3', + agentctl: 'grafana/agentctl:v0.18.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 79fac7537c4a..4514f7d7006b 100644 --- a/production/tanka/grafana-agent/v2/internal/base.libsonnet +++ b/production/tanka/grafana-agent/v2/internal/base.libsonnet @@ -10,8 +10,8 @@ function(name='grafana-agent', namespace='') { local this = self, _images:: { - agent: 'grafana/agent:v0.16.1', - agentctl: 'grafana/agentctl:v0.16.1', + agent: 'grafana/agent:v0.18.3', + agentctl: 'grafana/agentctl:v0.18.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 360ba96dcd94..8ed920efcfc4 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.16.1', + image: 'grafana/agentctl:v0.18.3', schedule: '*/5 * * * *', configs: [], } + config,