Update grafana/loki Docker tag to v2.9.4
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| grafana/loki | minor | 2.8.0 -> 2.9.4 |
Release Notes
grafana/loki (grafana/loki)
v2.9.4
v2.9.3
This is release v2.9.3 of Loki.
Notable changes:
This release includes a few small fixes and CVE patches
- Upgrade otelhttp from 0.40.0 -> 0.44.0 and base alpine image from 3.18.3 -> 3.18.5 to fix a few CVES (CVE-2023-45142, CVE-2022-21698, CVE-2023-5363).
- Fix querying ingester for label values with a matcher (previously didn't respect the matcher).
- Ensure all lifecycler cfgs ref a valid IPv6 addr and port combination
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
$ docker pull "grafana/loki:2.9.3"
$ docker pull "grafana/promtail:2.9.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.9.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.9.2
All Changes
Security
- 10879 DylanGuedes: Upgrade golang.org/x/net to v0.17.0 to patch CVE-2023-39325 / CVE-2023-44487
- 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
All Changes
Loki
Security
- 10573 DylanGuedes: Bump Docker base images to Alpine version 3.18.3 to mitigate CVE-2022-48174
Fixes
- 10585 ashwanthgoli / chaudum: Fix bug in index object client that could result in not showing all ingested logs in query results.
- 10314 bboreham: Fix race conditions in indexshipper.
v2.9.0
All Changes
Security
- 10188 shantanualsi: Bump alpine version from 3.16.5 -> 3.16.7
Loki
Enhancements
-
10101 owen-d: Sharding optimizations and fix bug on
<aggr> by|without ()groupings which removed the grouping while downstreaming - 10324 ashwanthgoli: Deprecate ingester.unordered-writes and a few unused configs(log.use-buffered, log.use-sync, frontend.forward-headers-list)
-
10322 chaudum: Deprecate misleading setting
-ruler.evaluation-delay-duration. - 10295 changhyuni: Storage: remove signatureversionv2 from s3.
- 10109 vardhaman-surana: Ruler: add limit parameter in rulegroup
- 10187 roelarents: Add connection-string option for Azure Blob Storage.
- 9621 DylanGuedes: Introduce TSDB postings cache.
- 10010 rasta-rocket: feat(promtail): retrieve BotTags field from cloudflare
- 9995 chaudum: Add jitter to the flush interval to prevent multiple ingesters to flush at the same time.
-
9797 chaudum: Add new
loki_index_gateway_requests_totalcounter metric to observe per-tenant RPS - 9710 chaudum: Add shuffle sharding to index gateway
- 9573 CCOLLOT: Lambda-Promtail: Add support for AWS CloudFront log ingestion.
- 9497 CCOLLOT: Lambda-Promtail: Add support for AWS CloudTrail log ingestion.
-
8886 MichelHollands: Add new logql template function
unixToTime - 8067 CCOLLOT: Lambda-Promtail: Add support for AWS CloudTrail log ingestion.
-
9515 MichelHollands: Fix String() on vector aggregation LogQL expressions that contain
without (). - 8067 DylanGuedes: Distributor: Add auto-forget unhealthy members support.
-
9175 MichelHollands: Ingester: update the
prepare_shutdownendpoint so it supports GET and DELETE and stores the state on disk. - 8953 dannykopping: Querier: block queries by hash.
- 8851 jeschkies: Introduce limit to require a set of labels for selecting streams.
-
9016 kavirajk: Change response type of
format_queryhandler toapplication/json - 8972 salvacorts Index stat requests are now cached in the results cache.
-
9177 salvacorts Index stat cache can be enabled or disabled with the new
cache_index_stats_resultsflag. Disabled by default. - 9096 salvacorts: Compute proportional TSDB index stats for chunks that doesn't fit fully in the queried time range.
- 8939 Suruthi-G-K: Loki: Add support for trusted profile authentication in COS client.
-
8852 wtchangdm: Loki: Add
route_randomlyto Redis options. - 8848 dannykopping: Ruler: add configurable rule evaluation jitter.
- 8826 amankrsingh2000: Loki: Add support for IBM cloud object storage as storage client.
-
8752 chaudum: Add query fairness control across actors within a tenant to scheduler, which can be enabled by passing the
X-Loki-Actor-Pathheader to the HTTP request of the query. - 8786 DylanGuedes: Ingester: add new /ingester/prepare_shutdown endpoint.
- 8744 dannykopping: Ruler: remote rule evaluation.
- 8670 salvacorts Introduce two new limits to refuse log and metric queries that would read too much data.
- 8918 salvacorts Introduce limit to require at least a number label matchers on metric and log queries.
-
8909 salvacorts Requests to
/loki/api/v1/index/statsare split in 24h intervals. - 8732 abaguas: azure: respect retry config before cancelling the context
- 9206 dannykopping: Ruler: log rule evaluation detail.
- 9184 periklis: Bump dskit to introduce IPv6 support for memberlist
- 9357 Indransh: Add HTTP API to change the log level at runtime
-
9431 dannykopping: Add more buckets to
loki_memcache_request_duration_secondsmetric; latencies can increase if using memcached with NVMe - 8684 oleksii-boiko-ua: Helm: Add hpa templates for read, write and backend components.
- 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 ashwanthgoli logfmt: add --strict flag to enable strict parsing, perform nostrict parsing by default
-
9672 zeitlinger: Add
alignLeftandalignRightline formatting functions. -
9693 salvacorts Add
keepstage to LogQL. - 7447 ashwanthgoli compactor: multi-store support.
- 7754 ashwanthgoli index-shipper: add support for multiple stores.
- 9813 jeschkies: Enable Protobuf encoding via content negotiation between querier and query frontend.
- 10281 dannykopping: Track effectiveness of hedged requests.
-
10341 ashwanthgoli Deprecate older index types and non-object stores -
aws-dynamo, gcp, gcp-columnkey, bigtable, bigtable-hashed, cassandra, grpc -
10344 ashwanthgoli Compactor: deprecate
-boltdb.shipper.compactor.prefix in favor of-compactor.. - 10073 sandeepsukhani,salvacorts,vlad-diachenko Support attaching structured metadata to log lines.
-
11151 ashwanthgoli: Removes already deprecated configs:
ruler.evaluation-delay-duration,boltdb.shipper.compactor.deletion-mode,validation.enforce-metric-nameand flags with prefix-boltdb.shipper.compactor.*.
Fixes
- 10026 aminesnow: Add support for Alibaba Cloud as storage backend for the ruler.
- 10065 fgouteroux: Fix the syntax error message when parsing expression rule.
- 8979 slim-bean: Fix the case where a logs query with start time == end time was returning logs when none should be returned.
- 9099 salvacorts: Fix the estimated size of chunks when writing a new TSDB file during compaction.
- 9130 salvacorts: Pass LogQL engine options down to the split by range, sharding, and query size limiter middlewares.
- 9252 jeschkies: Use un-escaped regex literal for string matching.
- 9176 DylanGuedes: Fix incorrect association of per-stream rate limit when sharding is enabled.
- 9463 Totalus: Fix OpenStack Swift client object listing to fetch all the objects properly.
- 9495 thampiotr: Promtail: Fix potential goroutine leak in file tailer.
- 9650 ashwanthgoli: Config: ensure storage config defaults apply to named stores.
- 9757 sandeepsukhani: Frontend Caching: Fix a bug in negative logs results cache causing Loki to unexpectedly send empty/incorrect results.
- 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 ssncferreira: Fix the logic of the
offsetoperator for downstream queries on instant query splitting of (range) vector aggregation expressions containing an offset. -
9773 ssncferreira: Fix instant query summary statistic's
splitscorresponding to the number of subqueries a query is split into based onsplit_queries_by_interval. - 9949 masslessparticle: Fix pipelines to clear caches when tailing to avoid resource exhaustion.
-
9936 masslessparticle: Fix the way query stages are reordered when
unpackis present. - 10309 akhilanarayanan: Fix race condition in series index store.
- 10221 periklis: Allow using the forget button when access via the internal server
Changes
-
9857 DylanGuedes: Stop emitting spans for every
AWS.S3orAzure.Blobcall. -
9212 trevorwhitney: Rename UsageReport to Analytics. The only external impact of this change is a change in the
-list-targetsoutput.
Promtail
Enhancements
- 8474 andriikushch: Promtail: Add a new target for the Azure Event Hubs
- 8874 rfratto: Promtail: Support expoential backoff when polling unchanged files for logs.
- 9508 farodin91: Promtail: improve behavior of partial lines.
-
9986 vlad-diachenko: Promtail: Add
structured_metadatastage to attach metadata to each log line.
Fixes
- 8987 darxriggs: Promtail: Fix file descriptor leak.
- 9863 ashwanthgoli: Promtail: Apply defaults to HTTP client config. This ensures follow_redirects is set to true.
- 9915 frittentheke: Promtail: Update grafana/tail to address issue in retry logic
LogCLI
Fixes
-
9597 vlad-diachenko: Set TSDB shipper mode to ReadOnly and disabled indexGatewayClient during local query run and changed index downloading timeout from
5sto1m. -
8566 ndrpnt: Allow queries to start with negative filters (
!=and!~) when omitting stream selector with--stdinflag
Mixins
Enhancements
Fixes
- 9684 thampiotr: Mixins: Fix promtail cluster template not finding all clusters.
-
8995 dannykopping: Mixins: Fix Jsonnet
RUNTIME ERRORthat occurs when you try to use the mixins withuse_boltdb_shipper: false.
FluentD
Enhancements
- LOG-4012 jcantril: fluent-plugin-grapha-loki: Add config to support tls: ciphers, min_versio
Jsonnet
-
9790 manohar-koukuntla: Add TSDB equivalent of
use_boltdb_shipperflag to be able to configuretsdb_shippersection. - 8855 JoaoBraveCoding: Add gRPC port to loki compactor mixin
- 8880 JoaoBraveCoding: Normalize headless service name for query-frontend/scheduler
-
9978 vlad-diachenko: replaced deprecated
policy.v1beta1withpolicy.v1.
v2.8.8
This is release v2.8.8 of Loki.
Notable changes:
- Fixed a couple of data races that can cause panics due to concurrent read-write access of tenant configs.
- Fixed a bug in the log results cache.
- Fixed the cache to atomically check background cache size limit correctly.
- Update
golang.org/x/cryptotov0.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:
- https://hub.docker.com/r/grafana/loki
- https://hub.docker.com/r/grafana/promtail
$ docker pull "grafana/loki:2.8.8"
$ docker pull "grafana/promtail:2.8.8"
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.8/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.7
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:
- https://hub.docker.com/r/grafana/loki
- https://hub.docker.com/r/grafana/promtail
$ docker pull "grafana/loki:2.8.7"
$ docker pull "grafana/promtail:2.8.7"
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.7/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.6
Loki
Security
- 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 upgrade go to v1.20.10 to patch CVE-2023-39325 / CVE-2023-44487
v2.8.5
Loki
Security
- 10573 DylanGuedes: Bump Docker base images to Alpine version 3.18.3 to mitigate CVE-2022-48174
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
$ docker pull "grafana/loki:2.8.4"
$ docker pull "grafana/promtail:2.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:
$ 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
Loki
Security
- 9913 MichelHollands: Upgrade go version to 1.20.6
Enhancements
- 9604 dannykopping: Querier: configurable writeback queue bytes size
Fixes
- 9471 sandeepsukhani: query-scheduler: fix query distribution in SSD mode.
- 9629 periklis: Fix duplicate label values from ingester streams.
Promtail
Fixes
- 9155 farodin91: Promtail: Break on iterate journal failure.
- 8988 darxriggs: Promtail: Prevent logging errors on normal shutdown.
v2.8.2
Loki
Security
- 9370 dannykopping: upgrade to go1.20.4
Promtail
Enhancements
-
8994 DylanGuedes: Promtail: Add new
decompressionconfiguration to customize the decompressor behavior.
v2.8.1
Loki
Fixes
- 9156 ashwanthgoli: Expiration: do not drop index if period is a zero value.
-
8971 dannykopping: Stats: fix
Cache.Chunk.BytesSentstatistic and loki_chunk_fetcher_fetched_size_bytes metric with correct chunk size. - 9185 dannykopping: Prevent redis client from incorrectly choosing cluster mode with local address.
Changes
- 9106 trevorwhitney: Update go to 1.20.3.
Build
- 9264 trevorwhitney: Update build and other docker image to alpine 3.16.5.
Promtail
Fixes
- 9095 JordanRushing Fix journald support in amd64 binary build.
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (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.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.