diff --git a/CHANGELOG.md b/CHANGELOG.md index 55a22c009982..da2a4f8426b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ NOTE: FreeBSD builds will not be included for this release. There is a bug in an upstream library preventing cross-compilation of the Grafana Cloud Agent for this platform. FreeBSD builds will return in a future release. +# v0.7.2 (2020-10-29) + +NOTE: FreeBSD builds will not be included for this release. There is a bug in an +upstream library preventing cross-compilation of the Grafana Cloud Agent for +this platform. FreeBSD builds will return in a future release. + - [ENHANCEMENT] Bump Prometheus dependency to 2.21. (@rfratto) - [ENHANCEMENT] Bump OpenTelemetry-collector dependency to 0.13.0 (@rfratto) diff --git a/Makefile b/Makefile index e38c042dde1b..df4220108688 100644 --- a/Makefile +++ b/Makefile @@ -164,7 +164,7 @@ install: ####################### lint: - GO111MODULE=on GOGC=10 golangci-lint run -v $(GOLANGCI_ARG) + GO111MODULE=on GOGC=10 golangci-lint run -v --timeout=10m $(GOLANGCI_ARG) # We have to run test twice: once for all packages with -race and then once more without -race # for packages that have known race detection issues diff --git a/docs/configuration-reference.md b/docs/configuration-reference.md index 6d92e2c0fb66..c88a6371ce5d 100644 --- a/docs/configuration-reference.md +++ b/docs/configuration-reference.md @@ -1959,7 +1959,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.7.1 \ + grafana/agent:v0.7.2 \ --config.file=/etc/agent-config/agent.yaml ``` @@ -1999,7 +1999,7 @@ metadata: name: agent spec: containers: - - image: grafana/agent:v0.7.1 + - image: grafana/agent:v0.7.2 name: agent args: - --config.file=/etc/agent-config/agent.yaml @@ -2265,7 +2265,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.7.1 \ + grafana/agent:v0.7.2 \ --config.file=/etc/agent-config/agent.yaml ``` @@ -2282,7 +2282,7 @@ metadata: name: agent spec: containers: - - image: grafana/agent:v0.7.1 + - image: grafana/agent:v0.7.2 name: agent args: - --config.file=/etc/agent-config/agent.yaml diff --git a/docs/getting-started.md b/docs/getting-started.md index 98ce499589b2..2b8db56f7b88 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.7.1 +docker pull grafana/agent:v0.7.2 ``` ### Kubernetes Install Script @@ -269,7 +269,7 @@ path of your Agent's YAML configuration file. docker run \ -v /tmp/agent:/etc/agent \ -v /path/to/config.yaml:/etc/agent-config/agent.yaml \ - grafana/agent:v0.7.1 + grafana/agent:v0.7.2 ``` ### Locally diff --git a/production/README.md b/production/README.md index c2b55e47cf99..1fc1af54aa64 100644 --- a/production/README.md +++ b/production/README.md @@ -35,7 +35,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.7.1 + grafana/agent:v0.7.2 ``` ## Running the Agent locally diff --git a/production/kubernetes/agent-bare.yaml b/production/kubernetes/agent-bare.yaml index edf22fe9fabb..dcd3d20d914a 100644 --- a/production/kubernetes/agent-bare.yaml +++ b/production/kubernetes/agent-bare.yaml @@ -61,7 +61,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.7.1 + image: grafana/agent:v0.7.2 imagePullPolicy: IfNotPresent name: agent ports: diff --git a/production/kubernetes/agent-loki.yaml b/production/kubernetes/agent-loki.yaml index 08cdc31cdd09..4fef55dc0fa4 100644 --- a/production/kubernetes/agent-loki.yaml +++ b/production/kubernetes/agent-loki.yaml @@ -322,7 +322,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.7.1 + image: grafana/agent:v0.7.2 imagePullPolicy: IfNotPresent name: agent ports: diff --git a/production/kubernetes/agent-tempo.yaml b/production/kubernetes/agent-tempo.yaml index a77a9d4ab11f..d2dc729e9200 100644 --- a/production/kubernetes/agent-tempo.yaml +++ b/production/kubernetes/agent-tempo.yaml @@ -163,7 +163,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.7.1 + image: grafana/agent:v0.7.2 imagePullPolicy: IfNotPresent name: agent ports: diff --git a/production/kubernetes/agent.yaml b/production/kubernetes/agent.yaml index f1b3736f5003..83b008423f10 100644 --- a/production/kubernetes/agent.yaml +++ b/production/kubernetes/agent.yaml @@ -309,7 +309,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.7.1 + image: grafana/agent:v0.7.2 imagePullPolicy: IfNotPresent name: agent ports: @@ -357,7 +357,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.7.1 + image: grafana/agent:v0.7.2 imagePullPolicy: IfNotPresent name: agent ports: diff --git a/production/kubernetes/build/lib/version.libsonnet b/production/kubernetes/build/lib/version.libsonnet index 82189ac2290e..76de4d209d79 100644 --- a/production/kubernetes/build/lib/version.libsonnet +++ b/production/kubernetes/build/lib/version.libsonnet @@ -1 +1 @@ -'grafana/agent:v0.7.1' +'grafana/agent:v0.7.2' diff --git a/production/kubernetes/install-bare.sh b/production/kubernetes/install-bare.sh index a9b9792c5eb0..6163d973a694 100644 --- a/production/kubernetes/install-bare.sh +++ b/production/kubernetes/install-bare.sh @@ -16,7 +16,7 @@ check_installed() { check_installed curl check_installed envsubst -MANIFEST_BRANCH=v0.7.1 +MANIFEST_BRANCH=v0.7.2 MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent-bare.yaml} curl -fsSL $MANIFEST_URL | envsubst diff --git a/production/kubernetes/install-loki.sh b/production/kubernetes/install-loki.sh index 0b0d26c2c3df..9d7b0304b73e 100644 --- a/production/kubernetes/install-loki.sh +++ b/production/kubernetes/install-loki.sh @@ -29,7 +29,7 @@ check_installed() { check_installed curl check_installed envsubst -MANIFEST_BRANCH=v0.7.1 +MANIFEST_BRANCH=v0.7.2 MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent-loki.yaml} LOKI_USERNAME_SET=0 diff --git a/production/kubernetes/install-tempo.sh b/production/kubernetes/install-tempo.sh index 459b4a7cc9a7..e7e87a84c51f 100644 --- a/production/kubernetes/install-tempo.sh +++ b/production/kubernetes/install-tempo.sh @@ -29,7 +29,7 @@ check_installed() { check_installed curl check_installed envsubst -MANIFEST_BRANCH=v0.7.1 +MANIFEST_BRANCH=v0.7.2 MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent-tempo.yaml} TEMPO_USERNAME_SET=0 diff --git a/production/kubernetes/install.sh b/production/kubernetes/install.sh index 32b30ae2580b..9986ef6f23fe 100644 --- a/production/kubernetes/install.sh +++ b/production/kubernetes/install.sh @@ -31,7 +31,7 @@ check_installed() { check_installed curl check_installed envsubst -MANIFEST_BRANCH=v0.7.1 +MANIFEST_BRANCH=v0.7.2 MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent.yaml} REMOTE_WRITE_USERNAME_SET=0 diff --git a/production/tanka/grafana-agent/v1/main.libsonnet b/production/tanka/grafana-agent/v1/main.libsonnet index b2a12ba00760..cd57a4169021 100644 --- a/production/tanka/grafana-agent/v1/main.libsonnet +++ b/production/tanka/grafana-agent/v1/main.libsonnet @@ -14,8 +14,8 @@ local configMap = k.core.v1.configMap; (import './lib/tempo.libsonnet') + { _images:: { - agent: 'grafana/agent:v0.7.1', - agentctl: 'grafana/agentctl:v0.7.1', + agent: 'grafana/agent:v0.7.2', + agentctl: 'grafana/agentctl:v0.7.2', }, // new creates a new DaemonSet deployment of the grafana-agent. By default,