This is a small release and only contains two fixes for Promtail:
- 2542 slim-bean: Promtail: implement shutdown for the no-op server
- 2532 slim-bean: Promtail: Restart the tailer if we fail to read and upate current position
The first only applies if you are running Promtail with both --stdin
and --server.disabled=true
flags.
The second is a minor rework to how Promtail handles a very specific error when attempting to read the size of a file and failing to do so.
Upgrading Promtail from 1.6.0 to 1.6.1 is only necessary if you have logs full of msg="error getting tail position and/or size"
,
the code changed in this release has been unchanged for a long time and we suspect very few people are seeing this issue.
No changes to any other components (Loki, Logcli, etc) are included in this release.
Installation:
The components of Loki are currently distributed in plain binary form and as Docker container images. Choose what fits your use-case best.
Docker container:
$ docker pull "grafana/loki:v1.6.1"
$ docker pull "grafana/promtail:v1.6.1"
Binary
We provide pre-compiled binary executables for the most common operating systems and architectures.
Choose from the assets below for the application and architecture matching your system.
Example for Loki
on the linux
operating system and amd64
architecture:
$ curl -O -L "https://github.com/grafana/loki/releases/download/v1.6.1/loki-linux-amd64.zip"
# extract the binary
$ unzip "loki-linux-amd64.zip"
# make sure it is executable
$ chmod a+x "loki-linux-amd64"