Update module github.com/grafana/loki/pkg/push to v2 #30889
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.0.0-20231127162423-bd505f8e2d37
->v2.9.4
Release Notes
grafana/loki (github.com/grafana/loki/pkg/push)
v2.9.4
Compare Source
This is release
v2.9.4
of Loki.Notable changes:
For a full list of changes, please refer to 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:
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 thelinux
operating system andamd64
architecture:v2.9.3
Compare Source
This is release
v2.9.3
of Loki.Notable changes:
This release includes a few small fixes and CVE patches
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:
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 thelinux
operating system andamd64
architecture:v2.9.2
Compare Source
This is release
v2.9.2
of Loki.Notable changes:
Patches CVE-2023-39325 / CVE-2023-44487 by upgrading go to v1.21.3, golang.org/x/net to v0.17.0 and grpc-go to v1.56.3.
For a full list of changes, please refer to 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:
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 thelinux
operating system andamd64
architecture:v2.9.1
Compare Source
This is release
v2.9.1
of Loki.Notable changes:
This release contains a patch for a vulnerability and bug fixes for the "single store" storage (
tsdb
andboltdb-shipper
).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:
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 thelinux
operating system andamd64
architecture:v2.9.0
: Loki 2.9.0Compare Source
Grafana Labs is excited to announce the release of Loki 2.9. 🎉
Notable changes:
index/volume
andindex/volume_range
, have been added to Loki. They return aggregate volume information from the TSDB index for all streams matching a provided stream selector.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:
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 thelinux
operating system andamd64
architecture:Upgrade Considerations
As always, please read the upgrade guide before upgrading Loki.
v2.8.8
Compare Source
This is release
v2.8.8
of Loki.Notable changes:
golang.org/x/crypto
tov0.18.0
For a full list of changes, please refer to 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:
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 thelinux
operating system andamd64
architecture:v2.8.7
Compare Source
This is release
v2.8.7
of Loki.Notable changes:
This release updates a few dependencies to bring in various security patches (see CHANGELOG for specifics).
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:
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 thelinux
operating system andamd64
architecture:v2.8.6
Compare Source
This is release
v2.8.6
of Loki.Notable changes:
Patches CVE-2023-39325 / CVE-2023-44487 by upgrading go to v1.20.10, golang.org/x/net to v0.17.0 and grpc-go to v1.56.3
For a full list of changes, please refer to 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:
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 thelinux
operating system andamd64
architecture:v2.8.5
Compare Source
This is release
v2.8.5
of Loki.Notable changes:
This release fixes a notable vulnerability to our published images.
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:
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 thelinux
operating system andamd64
architecture:v2.8.4
Compare Source
This is release
v2.8.4
of Loki.Notable changes:
This release fixes a few vulnerabilities in Loki and our published images.
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:
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 thelinux
operating system andamd64
architecture:v2.8.3
Compare Source
This is release
v2.8.3
of Loki.Notable changes:
Loki:
Promtail:
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:
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 thelinux
operating system andamd64
architecture:v2.8.2
Compare Source
This is release
v2.8.2
of Loki.Notable changes:
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:
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 thelinux
operating system andamd64
architecture:v2.8.1
Compare Source
We're excited to announce release
v2.8.1
of Loki. This release brings a few bug fixes and security improvements.Notable changes:
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:
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 thelinux
operating system andamd64
architecture:v2.8.0
: Loki 2.8.0Compare Source
Grafana Labs is excited to announce the release of Loki 2.8. 🎉
Notable changes:
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
, andbackend
) and makes theread
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:
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 thelinux
operating system andamd64
architecture:Upgrade Considerations
As always, please read the upgrade guide before upgrading Loki.
v2.7.7
Compare Source
This is release
v2.7.7
of Loki.Notable changes:
This release fixes a few vulnerabilities in Loki and our published images.
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:
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 thelinux
operating system andamd64
architecture:v2.7.6
Compare Source
This is release
v2.7.6
of Loki.Notable changes:
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:
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 thelinux
operating system andamd64
architecture:v2.7.5
Compare Source
This is release
v2.7.5
of Loki, a patch release of the v2.7 minor release.Notable changes:
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:
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 thelinux
operating system andamd64
architecture:v2.7.4
Compare Source
This is release
v2.7.4
of Loki, a patch release of the v2.7 minor release.Notable changes:
1.20.1
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:
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 thelinux
operating system andamd64
architecture:v2.7.3
Compare Source
This is release
v2.7.3
of Loki, a patch release of thev2.7
minor release.Notable changes:
startTime
andendTime
of a delete request were equal.--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:
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 thelinux
operating system andamd64
architecture:v2.7.2
Compare Source
This is release
v2.7.2
of Loki, a patch release of thev2.7
minor release.Notable bug fixes:
pattern
andregexp
parsers where missing or empty parameters for these parsers caused panics.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.
X-Scope-OrgID
header like sotenant-a|tenant-b
.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:
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 thelinux
operating system andamd64
architecture:v2.7.1
Compare Source
This is release
v2.7.1
of Loki.Notable changes:
filter-only
on account of the bug (see below).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:
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 thelinux
operating system andamd64
architecture:v2.7.0
Compare Source
🦅 Loki 2.7.0 🦅
This is release
v2.7.0
of Loki.Notable changes:
label_format
fields__timestamp__
and__line__
.lambda-promtail
now supports Kinesis data stream eventsUpgrade Considerations
As always, please read the upgrade guide before upgrading Loki.
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:
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 thelinux
operating system andamd64
architecture:v2.6.1
Compare Source
Loki 2.6.1 is a patch fix release on 2.6.0
Notable changes:
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:
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 thelinux
operating system andamd64
architecture:v2.6.0
Compare Source
💪 Loki 2.6.0 💪
🦵:leg:
Features and enhancements
sum(rate({app="foo"}[6h]))
) into several smaller sub-queries and executes them in parallel. Users don't need to take any action to enjoy this performance improvement; however, they can adjust the number of sub-queries generated by modifying thesplit_queries_by_interval
configuration parameter, which currently defaults to30m
.For a full list of all changes please look at the CHANGELOG.
Upgrade Considerations
As always, please read the upgrade guide before upgrading Loki.
Bug fixes
2.6.0 bug fixes
V2.6.0 fixes numerous bugs.
A summary of some of the more important fixes:
instance_interface_names
setting was getting overwritten by the default ring configuration.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:
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 thelinux
operating system andamd64
architecture:v2.5.0
Compare Source
🦖 🧡 Loki 2.5.0 🧡 🦖
It has been nearly 6 months since Loki 2.4 was released, and we’ve been busy making Loki better than ever. Here's a summary of new enhancements and important fixes.
Features and enhancements
regexp
library, and for creating a fork which greatly improves the performance of common regex uses cases in Loki.For a full list of all changes please look at the CHANGELOG.
Upgrade Considerations
As always, please read the upgrade guide before upgrading Loki.
Changes to the config
split_queries_by_interval
The most likely impact many people will see is Loki failing to start because of a change in the YAML configuration for
split_queries_by_interval
. It was previously possible to define this value in two places.and/or
In 2.5.0 it can only be defined in the
limits_config
section.Loki will fail to start if you do not remove the
split_queries_by_interval
configuration parameter from thequery_range
section.Additionally, it has a new default value of
30m
rather than0
.The CLI flag is not changed and remains
querier.split-queries-by-interval
.More parallelism by default
We continue to move defaults in Loki to leverage parallelism in all configurations, including the single binary.
In v2.5, all queries will be split and sharded by default. This will likely result in increased memory and CPU usage for Loki processes during queries, if you didn’t previously have these values enabled.
Usage reporting
Loki 2.5 includes code we added to report anonymous usage statistics back to Grafana Labs, an issue was created to outline the intent, and what went into the final implementation can be seen here in the source.
Usage reporting helps provide anonymous information on how people use Loki and what the Loki team should focus on for features and documentation. No private information is collected, and all reports are completely anonymous.
If possible, we ask you to leave the usage reporting feature enabled and help us understand more about Loki! We are also working to figure out how we can share this info with the community so everyone can watch Loki grow.
If you would rather not participate in usage stats reporting, the feature can be disabled in config
Bug fixes
2.5.0 bug fixes
V2.5.0 fixes numerous bugs. The CHANGELOG has the complete list.
A summary of some of the more important fixes:
context
cancellation in some of thequerier
downstream requestsInstallation:
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:
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 thelinux
operating system andamd64
architecture:v2.4.2
Compare Source
Loki 2.4.2
Loki 2.4.2 is a patch fix release on 2.4.x
Defaults changes
2.4.2 makes the following changes to Loki defaults to improve usability, see PR 5077:
Bug fixes
2.4.2 fixes these bugs:
causing the internal server error
code = Unimplemented
.memberlist
is the consistent hash ring store.scheduler_dns_lookup_period
min_ready_duration
final_sleep
max_transfer_retries
chunk_retain_period
chunk_target_size
batch_size
timeout
(for Redis requests)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:
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 thelinux
operating system andamd64
architecture:v2.4.1
Compare Source
Loki 2.4.1
This is a patch fix release which fixes two important bugs found in the 2.4.0 release:
read
target resulting in query gaps after a chunk is flushed and before the querier would download new index tables.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:
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 thelinux
operating system andamd64
architecture:v2.4.0
Compare Source
🎊 🌮 Loki 2.4.0 🌮 🎊
With Loki 2.4 we’ve focused on 2 main things:
Features and enhancements
read
andwrite
targets. Where previously you would have needed Kubernetes and the microservices approach to start tapping into Loki’s potential, it’s now possible to do this in a much simpler way.label_format
andline_format
functions now support working with dates and timesAll in all about 260 PR’s went into Loki 2.4 and we thank everyone for helping us make the best Loki yet.
For a full list of all changes please look at the CHANGELOG
Upgrade Considerations
Please read the upgrade guide before updating Loki.
We made a lot of changes to Loki’s configuration as part of this release, we have tried our best to make sure changes are compatible with existing configurations however some changes to default limits may impact users who didn't have values explicitly set for these limits in their config files.
Here is a list of limits changed:
Also we have enabled the in-memory FIFO cache by default when no existing external cache is configured. This helps improve Loki's performance however it will also allow Loki to consume more memory.
Bug fixes
Lists of bug fixes for 2.4.x.
2.4.0 bug fixes
Here is a list of some of the more important fixes in 2.4.0:
ip
matcher lexer to differentiate filter from identifierSecurity fixes
List of security fixes for 2.4.x
2.4.0 security fixes
2.4.0 contains one fix which is security related
4627 Loki: Explicitly define allowed HTTP methods on HTTP endpoints
A community user noticed that all Loki endpoints would respond to HTTP OPTIONS requests, and the proxy they placed in front of Loki responsible for HTTP authentication would pass OPTIONS requests unauthenticated to Loki allowing users to make unauthenticated/unauthorized queries to Loki. This PR restricts the type of HTTP methods allowed on each endpoint and disallows OPTIONS requests.
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:
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.
Configuration
📅 Schedule: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.