v0.7.2
This is release v0.7.2
of the Grafana Cloud Agent!
Notable changes:
Despite being a patch version bump, there are some important additions to this release!
The biggest change is the enhancements to host filtering mode: host_filtering mode now supports Docker Swarm and Consul targets out of the box. A meta-label __host__
can now be used for filtering targets. __host__
can be combined with the new host-filtering-specific relabeling rules configured by host_filter_relabel_configs
. Relabeling rules used for host filtering are temporary and are just used for the filtering process, so only use it for creating the __host__
label. For detailed information, check out the documentation on host filtering in the Operation Guide.
v0.7.0 had a bug where the docs made note of a push_config
field for configuring Tempo but the Agent actually expected a field called remote_write
. This has now been fixed and push_config
will work as expected.
Internal dependencies have had their versions bumped:
- The internal version of Prometheus used is now 2.21
- The internal version of opentelemetry-collector used for tempo is now 0.13.0
- The internal version of promtail used for Loki is now 2.0
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).
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/v0.7.2/production/kubernetes/install.sh)" | kubectl -ndefault apply -f -
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/v0.7.2/production/kubernetes/install-loki.sh)" | kubectl -ndefault apply -f -
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/grafana/agent/v0.7.2/production/kubernetes/install-tempo.sh)" | kubectl -ndefault apply -f -
Docker container:
docker pull "grafana/agent:v0.7.2"
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.7.2/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.7.2"
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.7.2/agentctl-linux-amd64.zip"
# extract the binary
unzip "agentctl-linux-amd64.zip"
# make sure it is executable
chmod a+x "agentctl-linux-amd64"