Skip to content

Releases: grafana/loki

v2.7.6

24 Jul 14:15
v2.7.6
d819332
Compare
Choose a tag to compare

This is release v2.7.6 of Loki.

Notable changes:

  • Upgrade go version to 1.20.6
  • Prevent redis client from incorrectly choosing cluster mode with local address
  • Expose optional label matcher for label values handler

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:2.7.6"
$ docker pull "grafana/promtail:2.7.6"

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/v2.7.6/loki-linux-amd64.zip"
# extract the binary
$ unzip "loki-linux-amd64.zip"
# make sure it is executable
$ chmod a+x "loki-linux-amd64"

v2.8.3

21 Jul 15:45
v2.8.3
0d81144
Compare
Choose a tag to compare

This is release v2.8.3 of Loki.

Notable changes:

Loki:

  • Upgrade go version to 1.20.6
  • Querier: configurable chunk cache writeback queue bytes size
  • Query-scheduler: fix query distribution in SSD mode
  • Fix duplicate label values from ingester streams.

Promtail:

  • Break on iterate journal failure
  • Prevent logging errors on normal shutdown

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:2.8.3"
$ docker pull "grafana/promtail:2.8.3"

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/v2.8.3/loki-linux-amd64.zip"
# extract the binary
$ unzip "loki-linux-amd64.zip"
# make sure it is executable
$ chmod a+x "loki-linux-amd64"

v2.8.2

03 May 11:31
v2.8.2
9f809ed
Compare
Choose a tag to compare

This is release v2.8.2 of Loki.

Notable changes:

  • Upgrade to go 1.20.4 to address security vulnerabilities in the previous go version.
  • Promtail: Add new decompression configuration to customize the decompressor behavior.

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:2.8.2"
$ docker pull "grafana/promtail:2.8.2"

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/v2.8.2/loki-linux-amd64.zip"
# extract the binary
$ unzip "loki-linux-amd64.zip"
# make sure it is executable
$ chmod a+x "loki-linux-amd64"

v2.8.1

24 Apr 21:10
v2.8.1
dd763dc
Compare
Choose a tag to compare

We're excited to announce release v2.8.1 of Loki. This release brings a few bug fixes and security improvements.

Notable changes:

  • Fix bug that was dropping index if period is a zero value.
  • Fix redis client to prevent it from incorrectly choosing cluster mode with local address.
  • Update go to 1.20.3 to address security vulnerabilities in the previous go version.
  • Update alpine image to 3.16.5 to address security vulnerabilities in the previous version.
  • Promtail: Fix journald support in amd64 binary build.

For a full list of all changes please look at the CHANGELOG.

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:2.8.1"
$ docker pull "grafana/promtail:2.8.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/v2.8.1/loki-linux-amd64.zip"
# extract the binary
$ unzip "loki-linux-amd64.zip"
# make sure it is executable
$ chmod a+x "loki-linux-amd64"

Loki 2.8.0

04 Apr 15:52
v2.8.0
90888a0
Compare
Choose a tag to compare

Grafana Labs is excited to announce the release of Loki 2.8. 🎉

Notable changes:

  • TSDB index no longer experimental After extensive testing of the new TSDB index in our Grafana Cloud Logs offering, we can safely announce that it is no longer experimental and encourage all Loki deployments to use it!
  • Query blocker Queries can now be blocked in the Querier/Ruler via a per-tenant runtime configuration.
  • New backend target A new, third target was added to Loki's scalable configuration, which is the default configuration used in the Loki helm chart. This allows Loki to be run as 3 targets (read, write, and backend) and makes the read target stateless and therefore able to be run as a Kubernetes deployment that can be scaled automatically.

For a full list of all changes please look at the CHANGELOG.

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:2.8.0"
$ docker pull "grafana/promtail:2.8.0"

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/v2.8.0/loki-linux-amd64.zip"
# extract the binary
$ unzip "loki-linux-amd64.zip"
# make sure it is executable
$ chmod a+x "loki-linux-amd64"

Upgrade Considerations

As always, please read the upgrade guide before upgrading Loki.

v2.7.5

28 Mar 15:05
fd33f6a
Compare
Choose a tag to compare

This is release v2.7.5 of Loki, a patch release of the v2.7 minor release.

Notable changes:

  • Flush buffered logger on exit: this makes sure logs are printed if Loki crashes on startup.

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:2.7.5"
$ docker pull "grafana/promtail:2.7.5"

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/v2.7.5/loki-linux-amd64.zip"
# extract the binary
$ unzip "loki-linux-amd64.zip"
# make sure it is executable
$ chmod a+x "loki-linux-amd64"

v2.7.4

24 Feb 19:17
v2.7.4
98421b0
Compare
Choose a tag to compare

This is release v2.7.4 of Loki, a patch release of the v2.7 minor release.

Notable changes:

  • Go version upgraded to 1.20.1
  • Fixed different streams for cri tags ending on the same stream.
  • Fixed the userdata field (from Windows Event Log) being scraped incorrectly.
  • Fixed vector() function producing wrong timestamp.
  • Fixed behavior for overlapping chunks with multiple stores.
  • Fixed logs results caching causing query-frontend to return logs outside of query window.
  • Fixed panics when:
    • /scheduler/ring endpoint is requested with scheduler ring disabled.
    • LogQL clones a specific query.
    • Promtail deals with invalid calls to Details().

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:2.7.4"
$ docker pull "grafana/promtail:2.7.4"

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/v2.7.4/loki-linux-amd64.zip"
# extract the binary
$ unzip "loki-linux-amd64.zip"
# make sure it is executable
$ chmod a+x "loki-linux-amd64"

v2.7.3

01 Feb 14:39
v2.7.3
a880ea3
Compare
Choose a tag to compare

This is release v2.7.3 of Loki, a patch release of the v2.7 minor release.

Notable changes:

  • Fixed a bug in compactor that caused divide-by-zero panics when startTime and endTime of a delete request were equal.
  • Fixed the output of the --version command that showed an incorrect version information.

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:2.7.3"
$ docker pull "grafana/promtail:2.7.3"

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/v2.7.3/loki-linux-amd64.zip"
# extract the binary
$ unzip "loki-linux-amd64.zip"
# make sure it is executable
$ chmod a+x "loki-linux-amd64"

v2.7.2

26 Jan 21:10
v2.7.2
c35554d
Compare
Choose a tag to compare

This is release v2.7.2 of Loki, a patch release of the v2.7 minor release.

Notable bug fixes:

  • Fixed bug in validation of pattern and regexp parsers where missing or empty parameters for these parsers caused panics.
  • Fixed bugs in processing delete requests with line filters:
    • Whole chunks covered by delete requests with a line filter were incorrectly skipped.
    • Chunks partially covered by delete requests with a line filter were not properly processed.
      The part that was not covered by the delete request was rewritten with a line filter, while the part that was covered by the delete request was completely deleted.
  • Fixed bug in multi-tenant querying that caused HTTP 400 responses when multiple tenants where used in X-Scope-OrgID header like so tenant-a|tenant-b.
  • Upgraded Go build version and Docker container base images to 1.19.5 to mitigate GO-2022-1144 vulnerability.

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:2.7.2"
$ docker pull "grafana/promtail:2.7.2"

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/v2.7.2/loki-linux-amd64.zip"
# extract the binary
$ unzip "loki-linux-amd64.zip"
# make sure it is executable
$ chmod a+x "loki-linux-amd64"

v2.7.1

09 Dec 23:40
v2.7.1
e0af1cc
Compare
Choose a tag to compare

This is release v2.7.1 of Loki.

Notable changes:

  • Add single compactor http client for delete and gennumber clients. This fixes a bug caused by the accidental introduction of different HTTP clients for compactor and gennumber operations that resulted in 404s when only the gennumber middlewares were enabled: ■ Unordered list style [Expected: dash; Actua
console  Grot (@grafanabot), 2022-12-09 - [release-2.7.x] Prepare changelog and release notes for 2.7.1 (#7897)
     level=error ts=2022-10-18T14:13:41.598649348Z caller=delete_requests_client.go:211 msg="error getting delete requests from the store" err="unexpected status code: 404"
     ts=2022-10-18T14:13:41.598697295Z caller=spanlogger.go:80 user=application level=error msg="failed loading deletes for user" err="unexpected status code: 404"
  • Change default deletion mode to filter-only on account of the bug (see below).
  • Delete can now be performed over GRPC.

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:2.7.1"
$ docker pull "grafana/promtail:2.7.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/v2.7.1/loki-linux-amd64.zip"
# extract the binary
$ unzip "loki-linux-amd64.zip"
# make sure it is executable
$ chmod a+x "loki-linux-amd64"