Skip to content

Commit

Permalink
prepare for 0.5.0 release (#151)
Browse files Browse the repository at this point in the history
* prepare for 0.5.0 release

* update CHANGELOG
  • Loading branch information
rfratto authored Aug 12, 2020
1 parent 39555bf commit 86f7b71
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 11 deletions.
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/configuration-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion production/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion production/kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions production/kubernetes/agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion production/kubernetes/build/template/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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+:: {
Expand Down
2 changes: 1 addition & 1 deletion production/kubernetes/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 86f7b71

Please sign in to comment.