Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare for 0.4.0 release #123

Merged
merged 1 commit into from
Jun 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.4.0 (2020-06-18)

- [FEATURE] Support for integrations has been added. Integrations can be any
embedded tool, but are currently used for embedding exporters and generating
scrape configs. (@rfratto)

- [FEATURE] node_exporter has been added as an integration. This is the full
version of node_exporter with the same configuration options. (@rfratto)

- [FEATURE] An Agent integration that makes the Agent automatically scrape
itself has been added. (@rfratto)

- [ENHANCEMENT] The WAL can now be truncated if running the Agent without any
remote_write endpoints. (@rfratto)

- [ENHANCEMENT] Clarify server_config description in documentation. (@rfratto)

- [ENHANCEMENT] Clarify wal_truncate_frequency and remote_flush_deadline in
documentation. (@rfratto)

- [ENHANCEMENT] Document /agent/api/v1/instances endpoint (@rfratto)

- [ENHANCEMENT] Be explicit about envsubst requirement for Kubernetes install
script. (@robx)

- [BUGFIX] Prevent the Agent from crashing when a global Prometheus config
stanza is not provided. (@robx)

- [BUGFIX] Enable agent host_filter in the Tanka configs, which was disabled by
default by mistake. (@rfratto)

# v0.3.2 (2020-05-29)

- [FEATURE] Tanka configs that deploy the scraping service mode are now
Expand Down
4 changes: 2 additions & 2 deletions docs/configuration-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,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.3.2 \
grafana/agent:v0.4.0 \
--config.file=/etc/agent-config/agent.yaml \
--integrations.node_exporter.rootfs-path=/host
```
Expand All @@ -1497,7 +1497,7 @@ metadata:
name: agent
spec:
containers:
- image: grafana/agent:v0.3.2
- image: grafana/agent:v0.4.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.3.2
docker pull grafana/agent:v0.4.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.3.2/production/kubernetes/install.sh)" | kubectl apply -f -
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/v0.4.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.3.2
grafana/agent:v0.4.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.3.2
grafana/agent:v0.4.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.3.2/production/kubernetes/install.sh)" | kubectl apply -f -
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/v0.4.0/production/kubernetes/install.sh)" | kubectl apply -f -
```

## Manually Applying
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.3.2
MANIFEST_BRANCH=v0.4.0
MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent.yaml}

REMOTE_WRITE_USERNAME_SET=0
Expand Down