diff --git a/CHANGELOG.md b/CHANGELOG.md index 422724d9f920..55f5547cce07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ # Next (master/unreleased) +# v0.5.0 (2020-08-12) + +- [FEATURE] A [scrape targets API](https://github.com/grafana/agent/blob/master/docs/api.md#list-current-scrape-targets) + has been added to show every target the Agent is currently scraping, when it + was last scraped, how long it took to scrape, and errors from the last scrape, + if any. (@rfratto) + +- [FEATURE] "Shared Instance Mode" is the new default mode for spawning + Prometheus instances, and will improve CPU and memory usage for users of + integrations and the scraping service. (@rfratto) + +- [ENHANCEMENT] Memory stability and utilization of the WAL has been improved, + and the reported number of active series in the WAL will stop double-counting + recently churned series. (@rfratto) + +- [ENHANCEMENT] Changing scrape_configs and remote_write configs for an instance + will now be dynamically applied without restarting the instance. This will + result in less missing metrics for users of the scraping service that change a + config. (@rfratto) + +- [ENHANCEMENT] The Tanka configuration now uses k8s-alpha. (@duologic) + +- [BUGFIX] The Tanka configuration will now also deploy a single-replica + deployment specifically for scraping the Kubernetes API. This deployment acts + together with the Daemonset to scrape the full cluster and the control plane. + (@gotjosh) + +- [BUGFIX] The node_exporter filesystem collector will now work on Linux systems + without needing to manually set the blocklist and allowlist of filesystems. + (@rfratto) + # v0.4.0 (2020-06-18) - [FEATURE] Support for integrations has been added. Integrations can be any diff --git a/docs/configuration-reference.md b/docs/configuration-reference.md index 47537947c427..b81d48f9fac6 100644 --- a/docs/configuration-reference.md +++ b/docs/configuration-reference.md @@ -1486,7 +1486,7 @@ docker run \ -v "/:/host:ro,rslave" \ -v /tmp/agent:/etc/agent \ -v /path/to/config.yaml:/etc/agent-config/agent.yaml \ - grafana/agent:v0.4.0 \ + grafana/agent:v0.5.0 \ --config.file=/etc/agent-config/agent.yaml \ --integrations.node_exporter.rootfs-path=/host ``` @@ -1501,7 +1501,7 @@ metadata: name: agent spec: containers: - - image: grafana/agent:v0.4.0 + - image: grafana/agent:v0.5.0 name: agent args: - --config.file=/etc/agent-config/agent.yaml diff --git a/docs/getting-started.md b/docs/getting-started.md index 366890dee669..eeb0300ef20d 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.4.0 +docker pull grafana/agent:v0.5.0 ``` ### Kubernetes Install Script @@ -57,7 +57,7 @@ Grafana Cloud Agent Kubernetes deployment manifest (requires `envsubst` (GNU get > **Warning**: Always verify scripts from the internet before running them. ``` -/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/v0.4.0/production/kubernetes/install.sh)" | kubectl apply -f - +/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/v0.5.0/production/kubernetes/install.sh)" | kubectl apply -f - ``` ### Kubernetes Manifest @@ -186,7 +186,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.4.0 + grafana/agent:v0.5.0 ``` ### Locally diff --git a/production/README.md b/production/README.md index 042e05faac8d..3785456f44cd 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.4.0 + grafana/agent:v0.5.0 ``` ## Running the Agent locally diff --git a/production/kubernetes/README.md b/production/kubernetes/README.md index e1c14caeca53..7d5fe563d8fa 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 (requires `envsubst` (GNU gettext)): ``` -/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/v0.4.0/production/kubernetes/install.sh)" | kubectl apply -f - +/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/v0.5.0/production/kubernetes/install.sh)" | kubectl apply -f - ``` ## Manually Applying diff --git a/production/kubernetes/agent.yaml b/production/kubernetes/agent.yaml index 83bd8c19027a..d7bd7d3e70e0 100644 --- a/production/kubernetes/agent.yaml +++ b/production/kubernetes/agent.yaml @@ -313,7 +313,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.4.0 + image: grafana/agent:v0.5.0 imagePullPolicy: IfNotPresent name: agent ports: @@ -362,7 +362,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.4.0 + image: grafana/agent:v0.5.0 imagePullPolicy: IfNotPresent name: agent ports: diff --git a/production/kubernetes/build/template/main.jsonnet b/production/kubernetes/build/template/main.jsonnet index 193cc7894412..34cbe2fdcb63 100644 --- a/production/kubernetes/build/template/main.jsonnet +++ b/production/kubernetes/build/template/main.jsonnet @@ -2,7 +2,7 @@ local agent = import 'grafana-agent/grafana-agent.libsonnet'; agent { _images+:: { - agent: 'grafana/agent:v0.4.0', + agent: 'grafana/agent:v0.5.0', }, _config+:: { diff --git a/production/kubernetes/install.sh b/production/kubernetes/install.sh index cedfeff341ca..73889f616457 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.4.0 +MANIFEST_BRANCH=v0.5.0 MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent.yaml} REMOTE_WRITE_USERNAME_SET=0