github grafana/agent v0.13.0

latest releases: helm-chart/0.38.0, v0.40.4, helm-chart/0.37.0...
3 years ago

This is release v0.13.0 of the Grafana Cloud Agent!

Upgrading

Read the migration guide for specific instructions on upgrading from older versions.

Notable changes:

This release comes with an important bugfix for #400. The Agent now comes with a higher tolerance (~20-80 minutes) of a server-side remote_write outage. This is done by increasing the wal_truncation_frequency to 60m, and has the trade-off of creating a larger WAL. If you want to revert to the old behavior, manually set the truncation frequency to 60s. The bugfix presented here isn't ideal (the tolerance is still variable) and work for a proper fix is ongoing.

This is also the first release where the primary branch of the repository has changed to main 🎉 This shouldn't affect users, but you may need to update any scripts you built that used the previous branch name. For example, non-release Docker images will now be tagged as main-SHA.

Other notable changes:

  • postgres_exporter: Support query_path and disable_default_metrics. (@rfratto)

  • Update Prometheus dependency to v2.25.0. (@rfratto)

  • Fixed a bug from v0.12.0 where the Loki installation script failed because positions_directory was not set. (@rfratto)

  • Add the ability to read and serve HTTPS integration metrics when given a set certificates (@mattdurham)

For the full list of changes, please check out our CHANGELOG.

Installation:

Grafana Cloud Agent is currently distributed in plain binary form, Docker container images, and a Kubernetes install script. Choose whichever fits your use-case best.

Kubernetes Install Script

The following scripts will download and install two Kubernetes manifests for the Agent. The first manifest collects metrics, the second collects logs, and the final collects traces. You will be prompted for input for each manifest. The script requires curl and envsubst (GNU gettext).

NAMESPACE="default" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/v0.13.0/production/kubernetes/install.sh)" | kubectl apply -f -
NAMESPACE="default" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/v0.13.0/production/kubernetes/install-loki.sh)" | kubectl apply -f -
NAMESPACE="default" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/v0.13.0/production/kubernetes/install-tempo.sh)" | kubectl apply -f -

Docker container:

docker pull "grafana/agent:v0.13.0"

Binary

We provide precompiled binary executables for the most common operating systems. Choose from the assets below for your matching operating system. Example for the linux operating system on amd64:

# download the binary
curl -O -L "https://github.com/grafana/agent/releases/download/v0.13.0/agent-linux-amd64.zip"

# extract the binary
unzip "agent-linux-amd64.zip"

# make sure it is executable
chmod a+x "agent-linux-amd64"

agentctl

agentctl, a tool for helping you interact with the Agent, is available as a Docker image:

docker pull "grafana/agentctl:v0.13.0"

Or as a binary. Like before, choose the assets below that matches your operating system. For example, with linux on amd64:

# download the binary
curl -O -L "https://github.com/grafana/agent/releases/download/v0.13.0/agentctl-linux-amd64.zip"

# extract the binary
unzip "agentctl-linux-amd64.zip"

# make sure it is executable
chmod a+x "agentctl-linux-amd64"

Don't miss a new agent release

NewReleases is sending notifications on new releases.