From bc7a5f87c6ed8450dcf4a6f6354d0dfde23281d7 Mon Sep 17 00:00:00 2001 From: Robert Fratto Date: Wed, 13 May 2020 11:49:14 -0400 Subject: [PATCH] prepare for 0.3.0 release (#69) --- CHANGELOG.md | 24 +++++++++++++++++++ docs/getting-started.md | 6 ++--- .../agent/config/agent-scraping-service.yaml | 1 + production/README.md | 2 +- production/kubernetes/README.md | 2 +- production/kubernetes/install.sh | 2 +- 6 files changed, 31 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ef95123f2ca..4c95614ef899 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,29 @@ # Next (master/unreleased) +# v0.3.0 (2020-05-13) + +- [FEATURE] A third operational mode called "scraping service mode" has been + added. A KV store is used to store instance configs which are distributed + amongst a clustered set of Agent processes, dividing the total scrape load + across each agent. An API is exposed on the Agents to list, create, update, + and delete instance configurations from the KV store. (@rfratto) + +- [FEATURE] An "agentctl" binary has been released to interact with the new + instance config management API created by the "scraping service mode." + (@rfratto, @hoenn) + +- [FEATURE] The Agent now includes readiness and healthiness endpoints. + (@rfratto) + +- [ENHANCEMENT] The YAML files are now parsed strictly and an invalid YAML will + generate an error at runtime. (@hoenn) + +- [ENHANCEMENT] The default build mode for the Docker containers is now release, + not debug. (@rfratto) + +- [ENHANCEMENT] The Grafana Agent Tanka Mixins now are placed in an "Agent" + folder within Grafana. (@cyriltovena) + # 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) diff --git a/docs/getting-started.md b/docs/getting-started.md index 29ab6eabaa6d..10b5a541f1fe 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.2.0 +docker pull grafana/agent:v0.3.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.2.0/production/kubernetes/install.sh)" | kubectl apply -f - +/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/v0.3.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.2.0 + grafana/agent:v0.3.0 ``` ### Locally diff --git a/example/agent/config/agent-scraping-service.yaml b/example/agent/config/agent-scraping-service.yaml index e9b9a67963da..38077aa04155 100644 --- a/example/agent/config/agent-scraping-service.yaml +++ b/example/agent/config/agent-scraping-service.yaml @@ -20,3 +20,4 @@ prometheus: etcd: endpoints: - etcd:2379 + diff --git a/production/README.md b/production/README.md index e218c614d6e9..ab90011498ee 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.2.0 + grafana/agent:v0.3.0 ``` ## Running the Agent locally diff --git a/production/kubernetes/README.md b/production/kubernetes/README.md index ec7f6f1ed66c..b6546cece5ae 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.2.0/production/kubernetes/install.sh)" | kubectl apply -f - +/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/v0.3.0/production/kubernetes/install.sh)" | kubectl apply -f - ``` ## Manually Applying diff --git a/production/kubernetes/install.sh b/production/kubernetes/install.sh index 141469f9440b..eae5cc1fb7af 100644 --- a/production/kubernetes/install.sh +++ b/production/kubernetes/install.sh @@ -21,7 +21,7 @@ # URL must always be provided. # -MANIFEST_BRANCH=v0.2.0 +MANIFEST_BRANCH=v0.3.0 MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent.yaml} REMOTE_WRITE_USERNAME_SET=0