From 8516febc6db7d5f440fe7c81cbcef622cf0ffa84 Mon Sep 17 00:00:00 2001 From: Robert Fratto Date: Thu, 9 Apr 2020 12:22:02 -0400 Subject: [PATCH] prepare for v0.2.0 release (#43) * prepare for v0.2.0 release * credit josue in changelog --- CHANGELOG.md | 20 +++++++++++++++++++- docs/getting-started.md | 6 +++--- production/README.md | 2 +- production/kubernetes/README.md | 2 +- production/kubernetes/install.sh | 2 +- 5 files changed, 25 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9aead1932bcb..2ef95123f2ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,24 @@ # Next (master/unreleased) -# v0.1.1 +# v0.2.0 (2020-04-09) + +- [FEATURE] The Prometheus remote write protocol will now send scraped metadata (metric name, help, type and unit). This results in almost negligent bytes sent increase as metadata is only sent every minute. It is on by default. (@gotjosh) + + These metrics are available to monitor metadata being sent: + - `prometheus_remote_storage_succeeded_metadata_total` + - `prometheus_remote_storage_failed_metadata_total` + - `prometheus_remote_storage_retried_metadata_total` + - `prometheus_remote_storage_sent_batch_duration_seconds` and + `prometheus_remote_storage_sent_bytes_total` have a new label “type” with + the values of `metadata` or `samples`. + +- [FEATURE] The Agent has upgraded its vendored Prometheus to v2.17.1 (@rfratto) + +- [BUGFIX] Invalid configs passed to the agent will now stop the process after they are logged as invalid; previously the Agent process would continue. (@rfratto) + +- [BUGFIX] Enabling host_filter will now allow metrics from node role Kubernetes service discovery to be scraped properly (e.g., cAdvisor, Kubelet). (@rfratto) + +# v0.1.1 (2020-03-16) - Nits in documentation (@sh0rez) - Fix various dashboard mixin problems from v0.1.0 (@rfratto) diff --git a/docs/getting-started.md b/docs/getting-started.md index 709c68460885..29ab6eabaa6d 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -27,7 +27,7 @@ Currently, there are five ways to install the agent: ### Docker Container ``` -docker pull grafana/agent:v0.1.1 +docker pull grafana/agent:v0.2.0 ``` ### Kubernetes Install Script @@ -38,7 +38,7 @@ Grafana Cloud Agent Kubernetes deployment manifest: > **Warning**: Always verify scripts from the internet before running them. ``` -/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/v0.1.1/production/kubernetes/install.sh)" | kubectl apply -f - +/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/v0.2.0/production/kubernetes/install.sh)" | kubectl apply -f - ``` ### Kubernetes Manifest @@ -91,7 +91,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.1.1 + grafana/agent:v0.2.0 ``` ### Locally diff --git a/production/README.md b/production/README.md index 779406fffae0..e218c614d6e9 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.1.1 + grafana/agent:v0.2.0 ``` ## Running the Agent locally diff --git a/production/kubernetes/README.md b/production/kubernetes/README.md index 510c96925561..ec7f6f1ed66c 100644 --- a/production/kubernetes/README.md +++ b/production/kubernetes/README.md @@ -18,7 +18,7 @@ Here's a one-line script to copy and paste to install the Agent on Kubernetes: ``` -/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/v0.1.1/production/kubernetes/install.sh)" | kubectl apply -f - +/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/v0.2.0/production/kubernetes/install.sh)" | kubectl apply -f - ``` ## Manually Applying diff --git a/production/kubernetes/install.sh b/production/kubernetes/install.sh index f296503cb51c..141469f9440b 100644 --- a/production/kubernetes/install.sh +++ b/production/kubernetes/install.sh @@ -21,7 +21,7 @@ # URL must always be provided. # -MANIFEST_BRANCH=v0.1.1 +MANIFEST_BRANCH=v0.2.0 MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent.yaml} REMOTE_WRITE_USERNAME_SET=0