grafana/loki (grafana/loki)
### [`v2.9.3`](https://togithub.com/grafana/loki/compare/v2.9.2...v2.9.3)
[Compare Source](https://togithub.com/grafana/loki/compare/v2.9.2...v2.9.3)
### [`v2.9.2`](https://togithub.com/grafana/loki/blob/HEAD/CHANGELOG.md#292-2023-10-16)
[Compare Source](https://togithub.com/grafana/loki/compare/v2.9.1...v2.9.2)
##### All Changes
##### Security
- [10879](https://togithub.com/grafana/loki/pull/10879) **DylanGuedes**: Upgrade golang.org/x/net to v0.17.0 to patch CVE-2023-39325 / CVE-2023-44487
- [10871](https://togithub.com/grafana/loki/pull/10871) **ashwanthgoli**: Upgrade go to v1.21.3 and grpc-go to v1.56.3 to patch CVE-2023-39325 / CVE-2023-44487
### [`v2.9.1`](https://togithub.com/grafana/loki/blob/HEAD/CHANGELOG.md#291-2023-09-14)
[Compare Source](https://togithub.com/grafana/loki/compare/v2.9.0...v2.9.1)
##### All Changes
##### Loki
##### Security
- [10573](https://togithub.com/grafana/loki/pull/10573) **DylanGuedes**: Bump Docker base images to Alpine version 3.18.3 to mitigate CVE-2022-48174
##### Fixes
- [10585](https://togithub.com/grafana/loki/pull/10585) **ashwanthgoli** / **chaudum**: Fix bug in index object client that could result in not showing all ingested logs in query results.
- [10314](https://togithub.com/grafana/loki/pull/10314) **bboreham**: Fix race conditions in indexshipper.
### [`v2.9.0`](https://togithub.com/grafana/loki/blob/HEAD/CHANGELOG.md#290-2023-09-06)
[Compare Source](https://togithub.com/grafana/loki/compare/v2.8.6...v2.9.0)
##### All Changes
##### Security
- [10188](https://togithub.com/grafana/loki/pull/10188) **shantanualsi**: Bump alpine version from 3.16.5 -> 3.16.7
##### Loki
##### Enhancements
- [10101](https://togithub.com/grafana/loki/pull/10101) **owen-d**: Sharding optimizations and fix bug on ` by|without ()` groupings which removed the grouping while downstreaming
- [10324](https://togithub.com/grafana/loki/pull/10324) **ashwanthgoli**: Deprecate ingester.unordered-writes and a few unused configs(log.use-buffered, log.use-sync, frontend.forward-headers-list)
- [10322](https://togithub.com/grafana/loki/pull/10322) **chaudum**: Deprecate misleading setting `-ruler.evaluation-delay-duration`.
- [10295](https://togithub.com/grafana/loki/pull/10295) **changhyuni**: Storage: remove signatureversionv2 from s3.
- [10109](https://togithub.com/grafana/loki/pull/10109) **vardhaman-surana**: Ruler: add limit parameter in rulegroup
- [10187](https://togithub.com/grafana/loki/pull/10187) **roelarents**: Add connection-string option for Azure Blob Storage.
- [9621](https://togithub.com/grafana/loki/pull/9621) **DylanGuedes**: Introduce TSDB postings cache.
- [10010](https://togithub.com/grafana/loki/pull/10010) **rasta-rocket**: feat(promtail): retrieve BotTags field from cloudflare
- [9995](https://togithub.com/grafana/loki/pull/9995) **chaudum**: Add jitter to the flush interval to prevent multiple ingesters to flush at the same time.
- [9797](https://togithub.com/grafana/loki/pull/9797) **chaudum**: Add new `loki_index_gateway_requests_total` counter metric to observe per-tenant RPS
- [9710](https://togithub.com/grafana/loki/pull/9710) **chaudum**: Add shuffle sharding to index gateway
- [9573](https://togithub.com/grafana/loki/pull/9573) **CCOLLOT**: Lambda-Promtail: Add support for AWS CloudFront log ingestion.
- [9497](https://togithub.com/grafana/loki/pull/9497) **CCOLLOT**: Lambda-Promtail: Add support for AWS CloudTrail log ingestion.
- [8886](https://togithub.com/grafana/loki/pull/8886) **MichelHollands**: Add new logql template function `unixToTime`
- [8067](https://togithub.com/grafana/loki/pull/9497) **CCOLLOT**: Lambda-Promtail: Add support for AWS CloudTrail log ingestion.
- [9515](https://togithub.com/grafana/loki/pull/9515) **MichelHollands**: Fix String() on vector aggregation LogQL expressions that contain `without ()`.
- [8067](https://togithub.com/grafana/loki/pull/8067) **DylanGuedes**: Distributor: Add auto-forget unhealthy members support.
- [9175](https://togithub.com/grafana/loki/pull/9175) **MichelHollands**: Ingester: update the `prepare_shutdown` endpoint so it supports GET and DELETE and stores the state on disk.
- [8953](https://togithub.com/grafana/loki/pull/8953) **dannykopping**: Querier: block queries by hash.
- [8851](https://togithub.com/grafana/loki/pull/8851) **jeschkies**: Introduce limit to require a set of labels for selecting streams.
- [9016](https://togithub.com/grafana/loki/pull/9016) **kavirajk**: Change response type of `format_query` handler to `application/json`
- [8972](https://togithub.com/grafana/loki/pull/8972) **salvacorts** Index stat requests are now cached in the results cache.
- [9177](https://togithub.com/grafana/loki/pull/9177) **salvacorts** Index stat cache can be enabled or disabled with the new `cache_index_stats_results` flag. Disabled by default.
- [9096](https://togithub.com/grafana/loki/pull/9096) **salvacorts**: Compute proportional TSDB index stats for chunks that doesn't fit fully in the queried time range.
- [8939](https://togithub.com/grafana/loki/pull/8939) **Suruthi-G-K**: Loki: Add support for trusted profile authentication in COS client.
- [8852](https://togithub.com/grafana/loki/pull/8852) **wtchangdm**: Loki: Add `route_randomly` to Redis options.
- [8848](https://togithub.com/grafana/loki/pull/8848) **dannykopping**: Ruler: add configurable rule evaluation jitter.
- [8826](https://togithub.com/grafana/loki/pull/8826) **amankrsingh2000**: Loki: Add support for IBM cloud object storage as storage client.
- [8752](https://togithub.com/grafana/loki/pull/8752) **chaudum**: Add query fairness control across actors within a tenant to scheduler, which can be enabled by passing the `X-Loki-Actor-Path` header to the HTTP request of the query.
- [8786](https://togithub.com/grafana/loki/pull/8786) **DylanGuedes**: Ingester: add new /ingester/prepare_shutdown endpoint.
- [8744](https://togithub.com/grafana/loki/pull/8744) **dannykopping**: Ruler: remote rule evaluation.
- [8670](https://togithub.com/grafana/loki/pull/8670) **salvacorts** Introduce two new limits to refuse log and metric queries that would read too much data.
- [8918](https://togithub.com/grafana/loki/pull/8918) **salvacorts** Introduce limit to require at least a number label matchers on metric and log queries.
- [8909](https://togithub.com/grafana/loki/pull/8909) **salvacorts** Requests to `/loki/api/v1/index/stats` are split in 24h intervals.
- [8732](https://togithub.com/grafana/loki/pull/8732) **abaguas**: azure: respect retry config before cancelling the context
- [9206](https://togithub.com/grafana/loki/pull/9206) **dannykopping**: Ruler: log rule evaluation detail.
- [9184](https://togithub.com/grafana/loki/pull/9184) **periklis**: Bump dskit to introduce IPv6 support for memberlist
- [9357](https://togithub.com/grafana/loki/pull/9357) **Indransh**: Add HTTP API to change the log level at runtime
- [9431](https://togithub.com/grafana/loki/pull/9431) **dannykopping**: Add more buckets to `loki_memcache_request_duration_seconds` metric; latencies can increase if using memcached with NVMe
- [8684](https://togithub.com/grafana/loki/pull/8684) **oleksii-boiko-ua**: Helm: Add hpa templates for read, write and backend components.
- [9535](https://togithub.com/grafana/loki/pull/9535) **salvacorts** Index stats cache can be configured independently of the results cache. If it's not configured, but it's enabled, it will use the results cache configuration.
- [9626](https://togithub.com/grafana/loki/pull/9626) **ashwanthgoli** logfmt: add --strict flag to enable strict parsing, perform nostrict parsing by default
- [9672](https://togithub.com/grafana/loki/pull/9672) **zeitlinger**: Add `alignLeft` and `alignRight` line formatting functions.
- [9693](https://togithub.com/grafana/loki/pull/9693) **salvacorts** Add `keep` stage to LogQL.
- [7447](https://togithub.com/grafana/loki/pull/7447) **ashwanthgoli** compactor: multi-store support.
- [7754](https://togithub.com/grafana/loki/pull/7754) **ashwanthgoli** index-shipper: add support for multiple stores.
- [9813](https://togithub.com/grafana/loki/pull/9813) **jeschkies**: Enable Protobuf encoding via content negotiation between querier and query frontend.
- [10281](https://togithub.com/grafana/loki/pull/10281) **dannykopping**: Track effectiveness of hedged requests.
- [10341](https://togithub.com/grafana/loki/pull/10341) **ashwanthgoli** Deprecate older index types and non-object stores - `aws-dynamo, gcp, gcp-columnkey, bigtable, bigtable-hashed, cassandra, grpc`
- [10344](https://togithub.com/grafana/loki/pull/10344) **ashwanthgoli** Compactor: deprecate `-boltdb.shipper.compactor.` prefix in favor of `-compactor.`.
- [10073](https://togithub.com/grafana/loki/pull/10073) **sandeepsukhani,salvacorts,vlad-diachenko** Support attaching structured metadata to log lines.
- [11151](https://togithub.com/grafana/loki/pull/11151) **ashwanthgoli**: Removes already deprecated configs: `ruler.evaluation-delay-duration`, `boltdb.shipper.compactor.deletion-mode`, `validation.enforce-metric-name` and flags with prefix `-boltdb.shipper.compactor.*`.
##### Fixes
- [10026](https://togithub.com/grafana/loki/pull/10026) **aminesnow**: Add support for Alibaba Cloud as storage backend for the ruler.
- [10065](https://togithub.com/grafana/loki/pull/10065) **fgouteroux**: Fix the syntax error message when parsing expression rule.
- [8979](https://togithub.com/grafana/loki/pull/8979) **slim-bean**: Fix the case where a logs query with start time == end time was returning logs when none should be returned.
- [9099](https://togithub.com/grafana/loki/pull/9099) **salvacorts**: Fix the estimated size of chunks when writing a new TSDB file during compaction.
- [9130](https://togithub.com/grafana/loki/pull/9130) **salvacorts**: Pass LogQL engine options down to the *split by range*, *sharding*, and *query size limiter* middlewares.
- [9252](https://togithub.com/grafana/loki/pull/9252) **jeschkies**: Use un-escaped regex literal for string matching.
- [9176](https://togithub.com/grafana/loki/pull/9176) **DylanGuedes**: Fix incorrect association of per-stream rate limit when sharding is enabled.
- [9463](https://togithub.com/grafana/loki/pull/9463) **Totalus**: Fix OpenStack Swift client object listing to fetch all the objects properly.
- [9495](https://togithub.com/grafana/loki/pull/9495) **thampiotr**: Promtail: Fix potential goroutine leak in file tailer.
- [9650](https://togithub.com/grafana/loki/pull/9650) **ashwanthgoli**: Config: ensure storage config defaults apply to named stores.
- [9757](https://togithub.com/grafana/loki/pull/9757) **sandeepsukhani**: Frontend Caching: Fix a bug in negative logs results cache causing Loki to unexpectedly send empty/incorrect results.
- [9754](https://togithub.com/grafana/loki/pull/9754) **ashwanthgoli**: Fixes an issue with indexes becoming unqueriable if the index prefix is different from the one configured in the latest period config.
- [9763](https://togithub.com/grafana/loki/pull/9763) **ssncferreira**: Fix the logic of the `offset` operator for downstream queries on instant query splitting of (range) vector aggregation expressions containing an offset.
- [9773](https://togithub.com/grafana/loki/pull/9773) **ssncferreira**: Fix instant query summary statistic's `splits` corresponding to the number of subqueries a query is split into based on `split_queries_by_interval`.
- [9949](https://togithub.com/grafana/loki/pull/9949) **masslessparticle**: Fix pipelines to clear caches when tailing to avoid resource exhaustion.
- [9936](https://togithub.com/grafana/loki/pull/9936) **masslessparticle**: Fix the way query stages are reordered when `unpack` is present.
- [10309](https://togithub.com/grafana/loki/pull/10309) **akhilanarayanan**: Fix race condition in series index store.
- [10221](https://togithub.com/grafana/loki/pull/10221) **periklis**: Allow using the forget button when access via the internal server
##### Changes
- [9857](https://togithub.com/grafana/loki/pull/9857) **DylanGuedes**: Stop emitting spans for every `AWS.S3` or `Azure.Blob` call.
- [9212](https://togithub.com/grafana/loki/pull/9212) **trevorwhitney**: Rename UsageReport to Analytics. The only external impact of this change is a change in the `-list-targets` output.
##### Promtail
##### Enhancements
- [8474](https://togithub.com/grafana/loki/pull/8787) **andriikushch**: Promtail: Add a new target for the Azure Event Hubs
- [8874](https://togithub.com/grafana/loki/pull/8874) **rfratto**: Promtail: Support expoential backoff when polling unchanged files for logs.
- [9508](https://togithub.com/grafana/loki/pull/9508) **farodin91**: Promtail: improve behavior of partial lines.
- [9986](https://togithub.com/grafana/loki/pull/9986) **vlad-diachenko**: Promtail: Add `structured_metadata` stage to attach metadata to each log line.
##### Fixes
- [8987](https://togithub.com/grafana/loki/pull/8987) **darxriggs**: Promtail: Fix file descriptor leak.
- [9863](https://togithub.com/grafana/loki/pull/9863) **ashwanthgoli**: Promtail: Apply defaults to HTTP client config. This ensures follow_redirects is set to true.
- [9915](https://togithub.com/grafana/loki/pull/9915) **frittentheke**: Promtail: Update grafana/tail to address issue in retry logic
##### LogCLI
##### Fixes
- [9597](https://togithub.com/grafana/loki/pull/9597) **vlad-diachenko**: Set TSDB shipper mode to ReadOnly and disabled indexGatewayClient during local query run and changed index downloading timeout from `5s` to `1m`.
- [8566](https://togithub.com/grafana/loki/pull/8566) **ndrpnt**: Allow queries to start with negative filters (`!=` and `!~`) when omitting stream selector with `--stdin` flag
##### Mixins
##### Enhancements
##### Fixes
- [9684](https://togithub.com/grafana/loki/pull/9684) **thampiotr**: Mixins: Fix promtail cluster template not finding all clusters.
- [8995](https://togithub.com/grafana/loki/pull/8995) **dannykopping**: Mixins: Fix Jsonnet `RUNTIME ERROR` that occurs when you try to use the mixins with `use_boltdb_shipper: false`.
##### FluentD
##### Enhancements
- [LOG-4012](https://issues.redhat.com/browse/LOG-4012) **jcantril**: fluent-plugin-grapha-loki: Add config to support tls: ciphers, min_versio
##### Jsonnet
- [9790](https://togithub.com/grafana/loki/pull/9790) **manohar-koukuntla**: Add TSDB equivalent of `use_boltdb_shipper` flag to be able to configure `tsdb_shipper` section.
- [8855](https://togithub.com/grafana/loki/pull/8855) **JoaoBraveCoding**: Add gRPC port to loki compactor mixin
- [8880](https://togithub.com/grafana/loki/pull/8880) **JoaoBraveCoding**: Normalize headless service name for query-frontend/scheduler
- [9978](https://togithub.com/grafana/loki/pull/9978) ****vlad-diachenko****: replaced deprecated `policy.v1beta1` with `policy.v1`.
### [`v2.8.6`](https://togithub.com/grafana/loki/blob/HEAD/CHANGELOG.md#286-2023-10-17)
[Compare Source](https://togithub.com/grafana/loki/compare/v2.8.5...v2.8.6)
##### Loki
##### Security
- [10887](https://togithub.com/grafana/loki/pull/10887) upgrade go-grpc to v1.56.3 and golang.org/x/net to v0.17.0 to patch CVE-2023-39325 / CVE-2023-44487
- [10889](https://togithub.com/grafana/loki/pull/10889) upgrade go to v1.20.10 to patch CVE-2023-39325 / CVE-2023-44487
### [`v2.8.5`](https://togithub.com/grafana/loki/blob/HEAD/CHANGELOG.md#285-2023-09-14)
[Compare Source](https://togithub.com/grafana/loki/compare/v2.8.4...v2.8.5)
##### Loki
##### Security
- [10573](https://togithub.com/grafana/loki/pull/10573) **DylanGuedes**: Bump Docker base images to Alpine version 3.18.3 to mitigate CVE-2022-48174
### [`v2.8.4`](https://togithub.com/grafana/loki/releases/tag/v2.8.4)
[Compare Source](https://togithub.com/grafana/loki/compare/2.8.3...v2.8.4)
This is release `v2.8.4` of Loki.
##### Notable changes:
This release fixes a few vulnerabilities in Loki and our published images.
- Fix CVE-2023-1255, CVE-2023-2650, CVE-2023-2975, CVE-2023-3446, and CVE-2023-3817
- Upgrade base alpine image used in loki image to 3.18.2
##### 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:
- https://hub.docker.com/r/grafana/loki
- https://hub.docker.com/r/grafana/promtail
```bash
$ docker pull "grafana/loki:v2.8.4"
$ docker pull "grafana/promtail:v2.8.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:
```bash
$ curl -O -L "https://github.com/grafana/loki/releases/download/v2.8.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.8.3`](https://togithub.com/grafana/loki/blob/HEAD/CHANGELOG.md#283-2023-07-21)
[Compare Source](https://togithub.com/grafana/loki/compare/v2.8.2...2.8.3)
##### Loki
##### Security
- [9913](https://togithub.com/grafana/loki/pull/9913) **MichelHollands**: Upgrade go version to 1.20.6
##### Enhancements
- [9604](https://togithub.com/grafana/loki/pull/9604) **dannykopping**: Querier: configurable writeback queue bytes size
##### Fixes
- [9471](https://togithub.com/grafana/loki/pull/9471) **sandeepsukhani**: query-scheduler: fix query distribution in SSD mode.
- [9629](https://togithub.com/grafana/loki/pull/9629) **periklis**: Fix duplicate label values from ingester streams.
##### Promtail
##### Fixes
- [9155](https://togithub.com/grafana/loki/pull/9155) **farodin91**: Promtail: Break on iterate journal failure.
- [8988](https://togithub.com/grafana/loki/pull/8988) **darxriggs**: Promtail: Prevent logging errors on normal shutdown.
Configuration
š Schedule: Branch creation - At any time (no schedule defined), 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.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
2.8.2
->2.9.3
Release Notes
grafana/loki (grafana/loki)
### [`v2.9.3`](https://togithub.com/grafana/loki/compare/v2.9.2...v2.9.3) [Compare Source](https://togithub.com/grafana/loki/compare/v2.9.2...v2.9.3) ### [`v2.9.2`](https://togithub.com/grafana/loki/blob/HEAD/CHANGELOG.md#292-2023-10-16) [Compare Source](https://togithub.com/grafana/loki/compare/v2.9.1...v2.9.2) ##### All Changes ##### Security - [10879](https://togithub.com/grafana/loki/pull/10879) **DylanGuedes**: Upgrade golang.org/x/net to v0.17.0 to patch CVE-2023-39325 / CVE-2023-44487 - [10871](https://togithub.com/grafana/loki/pull/10871) **ashwanthgoli**: Upgrade go to v1.21.3 and grpc-go to v1.56.3 to patch CVE-2023-39325 / CVE-2023-44487 ### [`v2.9.1`](https://togithub.com/grafana/loki/blob/HEAD/CHANGELOG.md#291-2023-09-14) [Compare Source](https://togithub.com/grafana/loki/compare/v2.9.0...v2.9.1) ##### All Changes ##### Loki ##### Security - [10573](https://togithub.com/grafana/loki/pull/10573) **DylanGuedes**: Bump Docker base images to Alpine version 3.18.3 to mitigate CVE-2022-48174 ##### Fixes - [10585](https://togithub.com/grafana/loki/pull/10585) **ashwanthgoli** / **chaudum**: Fix bug in index object client that could result in not showing all ingested logs in query results. - [10314](https://togithub.com/grafana/loki/pull/10314) **bboreham**: Fix race conditions in indexshipper. ### [`v2.9.0`](https://togithub.com/grafana/loki/blob/HEAD/CHANGELOG.md#290-2023-09-06) [Compare Source](https://togithub.com/grafana/loki/compare/v2.8.6...v2.9.0) ##### All Changes ##### Security - [10188](https://togithub.com/grafana/loki/pull/10188) **shantanualsi**: Bump alpine version from 3.16.5 -> 3.16.7 ##### Loki ##### Enhancements - [10101](https://togithub.com/grafana/loki/pull/10101) **owen-d**: Sharding optimizations and fix bug on `Configuration
š Schedule: Branch creation - At any time (no schedule defined), 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.