From 05f26e60995ed049ea9506887465fa50bbb4281d Mon Sep 17 00:00:00 2001 From: Robert Fratto Date: Fri, 9 Apr 2021 10:15:46 -0400 Subject: [PATCH] Prepare for v0.13.1 release (#529) --- CHANGELOG.md | 2 ++ docs/configuration-reference.md | 8 ++++---- docs/getting-started.md | 4 ++-- production/README.md | 2 +- production/grafanacloud-install.sh | 2 +- production/kubernetes/agent-bare.yaml | 2 +- production/kubernetes/agent-loki.yaml | 2 +- production/kubernetes/agent-sigv4.yaml | 4 ++-- production/kubernetes/agent-tempo.yaml | 2 +- production/kubernetes/agent.yaml | 4 ++-- production/kubernetes/build/lib/version.libsonnet | 2 +- production/kubernetes/install-bare.sh | 2 +- production/kubernetes/install-loki.sh | 2 +- production/kubernetes/install-sigv4.sh | 2 +- production/kubernetes/install-tempo.sh | 2 +- production/kubernetes/install.sh | 2 +- production/tanka/grafana-agent/v1/main.libsonnet | 4 ++-- 17 files changed, 25 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28fdba033fe4..f82a62150bc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ can be found at [#317](https://github.com/grafana/agent/issues/317). # Main (unreleased) +# v0.13.1 (2021-04-09) + - [BUGFIX] Validate that incoming scraped metrics do not have an empty label set or a label set with duplicate labels, mirroring the behavior of Prometheus. (@rfratto) diff --git a/docs/configuration-reference.md b/docs/configuration-reference.md index 441d1ecf2eea..48d242e5c722 100644 --- a/docs/configuration-reference.md +++ b/docs/configuration-reference.md @@ -2157,7 +2157,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.13.0 \ + grafana/agent:v0.13.1 \ --config.file=/etc/agent-config/agent.yaml ``` @@ -2197,7 +2197,7 @@ metadata: name: agent spec: containers: - - image: grafana/agent:v0.13.0 + - image: grafana/agent:v0.13.1 name: agent args: - --config.file=/etc/agent-config/agent.yaml @@ -2466,7 +2466,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.13.0 \ + grafana/agent:v0.13.1 \ --config.file=/etc/agent-config/agent.yaml ``` @@ -2483,7 +2483,7 @@ metadata: name: agent spec: containers: - - image: grafana/agent:v0.13.0 + - image: grafana/agent:v0.13.1 name: agent args: - --config.file=/etc/agent-config/agent.yaml diff --git a/docs/getting-started.md b/docs/getting-started.md index 48d161e674ca..23aeb802ff7e 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -46,7 +46,7 @@ Currently, there are five ways to install the agent: ### Docker Container ``` -docker pull grafana/agent:v0.13.0 +docker pull grafana/agent:v0.13.1 ``` ### Kubernetes Install Script @@ -282,7 +282,7 @@ path of your Agent's YAML configuration file. docker run \ -v /tmp/agent:/etc/agent \ -v /path/to/config.yaml:/etc/agent/agent.yaml \ - grafana/agent:v0.13.0 + grafana/agent:v0.13.1 ``` ### Locally diff --git a/production/README.md b/production/README.md index 5d3e8da008ce..b557ce32c8aa 100644 --- a/production/README.md +++ b/production/README.md @@ -37,7 +37,7 @@ docker run \ -v /tmp/agent:/etc/agent \ -v /path/to/config.yaml:/etc/agent-config/agent.yaml \ --entrypoint "/bin/agent -config.file=/etc/agent-config/agent.yaml -prometheus.wal-directory=/etc/agent/data" - grafana/agent:v0.13.0 + grafana/agent:v0.13.1 ``` ## Running the Agent locally diff --git a/production/grafanacloud-install.sh b/production/grafanacloud-install.sh index ca4f0a492009..62e85ba0a64a 100755 --- a/production/grafanacloud-install.sh +++ b/production/grafanacloud-install.sh @@ -47,7 +47,7 @@ PACKAGE_SYSTEM=${PACKAGE_SYSTEM:=} # # Global constants. # -RELEASE_VERSION="0.13.0" +RELEASE_VERSION="0.13.1" 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 79728fb76b37..ed3de5b8e60d 100644 --- a/production/kubernetes/agent-bare.yaml +++ b/production/kubernetes/agent-bare.yaml @@ -61,7 +61,7 @@ spec: - -config.file=/etc/agent/agent.yaml command: - /bin/agent - image: grafana/agent:v0.13.0 + image: grafana/agent:v0.13.1 imagePullPolicy: IfNotPresent name: agent ports: diff --git a/production/kubernetes/agent-loki.yaml b/production/kubernetes/agent-loki.yaml index 7a0299a38a56..f0d9d36abedd 100644 --- a/production/kubernetes/agent-loki.yaml +++ b/production/kubernetes/agent-loki.yaml @@ -328,7 +328,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.13.0 + image: grafana/agent:v0.13.1 imagePullPolicy: IfNotPresent name: agent ports: diff --git a/production/kubernetes/agent-sigv4.yaml b/production/kubernetes/agent-sigv4.yaml index f4daddcc3ac0..aa2b6e0d31e4 100644 --- a/production/kubernetes/agent-sigv4.yaml +++ b/production/kubernetes/agent-sigv4.yaml @@ -280,7 +280,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.13.0 + image: grafana/agent:v0.13.1 imagePullPolicy: IfNotPresent name: agent ports: @@ -331,7 +331,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.13.0 + image: grafana/agent:v0.13.1 imagePullPolicy: IfNotPresent name: agent ports: diff --git a/production/kubernetes/agent-tempo.yaml b/production/kubernetes/agent-tempo.yaml index 9bf6e471f367..df0aa3923b81 100644 --- a/production/kubernetes/agent-tempo.yaml +++ b/production/kubernetes/agent-tempo.yaml @@ -169,7 +169,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.13.0 + image: grafana/agent:v0.13.1 imagePullPolicy: IfNotPresent name: agent ports: diff --git a/production/kubernetes/agent.yaml b/production/kubernetes/agent.yaml index 9bfec8ce6d28..80eae421a193 100644 --- a/production/kubernetes/agent.yaml +++ b/production/kubernetes/agent.yaml @@ -278,7 +278,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.13.0 + image: grafana/agent:v0.13.1 imagePullPolicy: IfNotPresent name: agent ports: @@ -329,7 +329,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.13.0 + image: grafana/agent:v0.13.1 imagePullPolicy: IfNotPresent name: agent ports: diff --git a/production/kubernetes/build/lib/version.libsonnet b/production/kubernetes/build/lib/version.libsonnet index d11e72509164..635aa9ad5150 100644 --- a/production/kubernetes/build/lib/version.libsonnet +++ b/production/kubernetes/build/lib/version.libsonnet @@ -1 +1 @@ -'grafana/agent:v0.13.0' +'grafana/agent:v0.13.1' diff --git a/production/kubernetes/install-bare.sh b/production/kubernetes/install-bare.sh index 6ffaad48f9b3..f24859ccfba0 100644 --- a/production/kubernetes/install-bare.sh +++ b/production/kubernetes/install-bare.sh @@ -17,7 +17,7 @@ check_installed() { check_installed curl check_installed envsubst -MANIFEST_BRANCH=v0.13.0 +MANIFEST_BRANCH=v0.13.1 MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent-bare.yaml} NAMESPACE=${NAMESPACE:-default} diff --git a/production/kubernetes/install-loki.sh b/production/kubernetes/install-loki.sh index 1446428ac324..453be0340130 100644 --- a/production/kubernetes/install-loki.sh +++ b/production/kubernetes/install-loki.sh @@ -31,7 +31,7 @@ check_installed() { check_installed curl check_installed envsubst -MANIFEST_BRANCH=v0.13.0 +MANIFEST_BRANCH=v0.13.1 MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent-loki.yaml} NAMESPACE=${NAMESPACE:-default} diff --git a/production/kubernetes/install-sigv4.sh b/production/kubernetes/install-sigv4.sh index 73229d68d695..e8e590157446 100644 --- a/production/kubernetes/install-sigv4.sh +++ b/production/kubernetes/install-sigv4.sh @@ -30,7 +30,7 @@ check_installed() { check_installed curl check_installed envsubst -MANIFEST_BRANCH=v0.13.0 +MANIFEST_BRANCH=v0.13.1 MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent-sigv4.yaml} NAMESPACE=${NAMESPACE:-default} ROLE_ARN=${ROLE_ARN:-} diff --git a/production/kubernetes/install-tempo.sh b/production/kubernetes/install-tempo.sh index f5d51575e3a3..e66c47cb5616 100644 --- a/production/kubernetes/install-tempo.sh +++ b/production/kubernetes/install-tempo.sh @@ -31,7 +31,7 @@ check_installed() { check_installed curl check_installed envsubst -MANIFEST_BRANCH=v0.13.0 +MANIFEST_BRANCH=v0.13.1 MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent-tempo.yaml} NAMESPACE=${NAMESPACE:-default} diff --git a/production/kubernetes/install.sh b/production/kubernetes/install.sh index 3e917304139a..a78b5d9fb941 100644 --- a/production/kubernetes/install.sh +++ b/production/kubernetes/install.sh @@ -32,7 +32,7 @@ check_installed() { check_installed curl check_installed envsubst -MANIFEST_BRANCH=v0.13.0 +MANIFEST_BRANCH=v0.13.1 MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent.yaml} NAMESPACE=${NAMESPACE:-default} diff --git a/production/tanka/grafana-agent/v1/main.libsonnet b/production/tanka/grafana-agent/v1/main.libsonnet index b32861ffae01..4653437f406c 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.13.0', - agentctl: 'grafana/agentctl:v0.13.0', + agent: 'grafana/agent:v0.13.1', + agentctl: 'grafana/agentctl:v0.13.1', }, // new creates a new DaemonSet deployment of the grafana-agent. By default,