Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update grafana/loki Docker tag to v3 #25

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 8, 2024

Mend Renovate

This PR contains the following updates:

Package Update Change
grafana/loki major 2.9.1 -> 3.0.0

Release Notes

grafana/loki (grafana/loki)

v3.0.0

Compare Source

Starting with the 3.0 release we began using conventional commits and release-please to generate the changelog. As a result the format has changed slightly from previous releases.

Features
  • helm: configurable API version for PodLog CRD (#​10812) (d1dee91)
  • lambda/promtail: support dropping labels (#​10755) (ec54c72)
  • logstash: clients logstash output structured metadata support (#​10899) (32f1ec2)
  • loki: Allow custom usage trackers for ingested and discarded bytes metric. 11840
  • loki: feat: Support split align and caching for instant metric query results 11814
  • loki: Helm: Allow the definition of resources for GrafanaAgent pods. 11851
  • loki: Ruler: Add the ability to disable the X-Scope-OrgId tenant identification header in remote write requests. 11819
  • loki: Add profiling integrations to tracing instrumentation. 11633
  • loki: Add a metrics.go log line for requests from querier to ingester 11571
  • loki: support GET for /ingester/shutdown 11477
  • loki: bugfix(memcached): Make memcached batch fetch truly context aware. 11363
  • loki: Helm: Add extraContainers to the write pods. 11319
  • loki: Inflight-logging: Add extra metadata to inflight requests logging. 11243
  • loki: Use metrics namespace for more metrics. 11025.
  • loki: Change default of metrics.namespace. 11110.
  • loki: Helm: Allow topologySpreadConstraints 11086
  • loki: Storage: Allow setting a constant prefix for all created keys 10096
  • loki: Remove already deprecated store.max-look-back-period. 11038
  • loki: Support Loki ruler to notify WAL writes to remote storage. 10906
  • loki: Helm: allow GrafanaAgent tolerations 10613
  • loki: Storage: remove signatureversionv2 from s3. 10295
  • loki: Dynamic client-side throttling to avoid object storage rate-limits (GCS only) 10140
  • loki: Removes already deprecated -querier.engine.timeout CLI flag and corresponding YAML setting as well as the querier.query_timeout YAML setting. 10302
  • loki Tracing: elide small traces for Stats call. 10308
  • loki Shard avg_over_time range aggregations. 10373
  • loki Remove deprecated config -s3.sse-encryption in favor or -s3.sse.* settings. 10377
  • loki Remove deprecated ruler.wal-cleaer.period 10378
  • loki Remove experimental.ruler.enable-api in favour of ruler.enable-api 10380
  • loki Remove deprecated split_queries_by_interval and forward_headers_list configuration options in the query_range section 10395
  • loki Add loki_distributor_ingester_append_timeouts_total metric, remove loki_distributor_ingester_append_failures_total metric 10456
  • loki Remove configuration use_boltdb_shipper_as_backup 10534
  • loki Enable embedded cache if no other cache is explicitly enabled. 10620
  • loki Remove legacy ingester shutdown handler /ingester/flush_shutdown. 10655
  • loki Remove ingester.max-transfer-retries configuration option in favor of using the WAL. 10709
  • loki Deprecate write dedupe cache as this is not required by the newer single store indexes (tsdb and boltdb-shipper). 10736
  • loki Embedded cache: Updates the metric prefix from querier_cache_ to loki_embeddedcache_ and removes duplicate metrics. 10693
  • loki Removes shared_store and shared_store_key_prefix from tsdb, boltdb shipper and compactor configs and their corresponding CLI flags. 10840
  • loki Config: Better configuration defaults to provide a better experience for users out of the box. 10793
  • loki Config: Removes querier.worker-parallelism and updates default value of querier.max-concurrent to 4. 10785
  • loki Add support for case-insensitive logql functions 10733
  • loki Native otlp ingestion support 10727
  • Refactor to not use global logger in modules 11051
  • loki do not wrap requests but send pure Protobuf from frontend v2 via scheduler to querier when -frontend.encoding=protobuf. 10956
  • loki shard quantile_over_time range queries using probabilistic data structures. 10417
  • loki Config: Adds frontend.max-query-capacity to tune per-tenant query capacity. 11284
  • kaviraj,ashwanthgoli Support caching /series and /labels query results 11539
  • loki Force correct memcached timeout when fetching chunks. 11545
  • loki Results Cache: Adds query_length_served cache stat to measure the length of the query served from cache. 11589
  • loki Query Frontend: Allow customisable splitting of queries which overlap the query_ingester_within window to reduce query pressure on ingesters. 11535
  • loki Cache: atomically check background cache size limit correctly. 11654
  • loki Metadata cache: Adds frontend.max-metadata-cache-freshness to configure the time window for which metadata results are not cached. This helps avoid returning inaccurate results by not caching recent results. 11682
  • loki Cache: extending #​11535 to align custom ingester query split with cache keys for correct caching of results. 11679
  • loki otel: Add support for per tenant configuration for mapping otlp data to loki format 11143
  • loki Config: Adds frontend.log-query-request-headers to enable logging of request headers in query logs. 11499
  • loki Ruler: Add support for filtering results of /prometheus/api/v1/rules endpoint by rule_name, rule_group, file and type. 11817
  • loki Metadata: Introduces a separate split interval of split_recent_metadata_queries_by_interval for recent_metadata_query_window to help with caching recent metadata query results. 11897
  • loki Ksonnet: Introduces memory limits to the compactor configuration to avoid unbounded memory usage. 11970
  • loki Memcached: Add mTLS support. 12318
  • loki Detect name of service emitting logs and add it as a label. 12392
  • loki LogQL: Introduces pattern match filter operators. 12398
  • loki: Helm: Use /ingester/shutdown for preStop hook in write pods. 11490
  • loki Upgrade thanos objstore, dskit and other modules 10366
  • loki Upgrade thanos objstore 10451
  • loki Upgrade prometheus to v0.47.1 and dskit 10814
  • loki introduce a backoff wait on subquery retries. 10959
  • loki Ensure all lifecycler cfgs ref a valid IPv6 addr and port combination 11121
  • loki Ensure the frontend uses a valid IPv6 addr and port combination 10650
  • loki Deprecate and flip -legacy-read-mode flag to false by default. 11665
  • loki BREAKING CHANGE: refactor how we do defaults for runtime overrides 12448
  • promtail: structured_metadata: enable structured_metadata convert labels 10752
  • promtail: chore(promtail): Improve default configuration that is shipped with rpm/deb packages to avoid possible high CPU utilisation if there are lots of files inside /var/log. 11511
  • promtail: Lambda-Promtail: Add support for WAF logs in S3 10416
  • promtail: users can now define additional_fields in cloudflare configuration. 10301
  • promtail: Lambda-Promtail: Add support for dropping labels passed via env var 10755
Bug Fixes
  • All lifecycler cfgs ref a valid IPv6 addr and port combination (#​11121) (6385b19)
  • deps: update github.com/c2h5oh/datasize digest to 859f65c (main) (#​10820) (c66ffd1)
  • deps: update github.com/docker/go-plugins-helpers digest to 6eecb7b (main) (#​10826) (fb9c496)
  • deps: update github.com/grafana/gomemcache digest to 6947259 (main) (#​10836) (2327789)
  • deps: update github.com/grafana/loki/pkg/push digest to 583aa28 (main) (#​10842) (02d9418)
  • deps: update github.com/grafana/loki/pkg/push digest to cfc4f0e (main) (#​10946) (d27c4d2)
  • deps: update github.com/grafana/loki/pkg/push digest to e523809 (main) (#​11107) (09cb9ae)
  • deps: update github.com/joncrlsn/dque digest to c2ef48c (main) (#​10947) (1fe4885)
  • deps: update module google.golang.org/grpc [security] (main) (#​11031) (0695424)
  • helm: bump nginx-unprivilege to fix CVE (#​10754) (dbf7dd4)
  • promtail: correctly parse list of drop stage sources from YAML (#​10848) (f51ee84)
  • promtail: prevent panic due to duplicate metric registration after reloaded (#​10798) (47e2c58)
  • loki: respect query matcher in ingester when getting label values (#​10375) (85e2e52)
  • helm: Sidecar configuration for Backend (#​10603) (c29ba97)
  • tools/lambda-promtail: Do not evaluate empty string for drop_labels (#​11074) (94169a0)
  • lambda-promtail Fix panic in lambda-promtail due to mishandling of empty DROP_LABELS env var. 11074
  • loki Generate tsdb_shipper storage_config even if using_boltdb_shipper is false 11195
  • promtail: Fix Promtail excludepath not evaluated on newly added files. 9831
  • loki Do not reflect label names in request metrics' "route" label. 11551
  • loki Fix duplicate logs from docker containers. 11563
  • loki Ruler: Fixed a panic that can be caused by concurrent read-write access of tenant configs when there are a large amount of rules. 11601
  • loki Fixed regression adding newlines to HTTP error response bodies which may break client integrations. 11606
  • loki Log results cache: compose empty response based on the request being served to avoid returning incorrect limit or direction. 11657
  • loki Fix semantics of label parsing logic of metrics and logs queries. Both only parse the first label if multiple extractions into the same label are requested. 11587
  • loki Background Cache: Fixes a bug that is causing the background queue size to be incremented twice for each enqueued item. 11776
  • loki: Parsing: String array elements were not being parsed correctly in JSON processing 11921

v2.9.7

Compare Source

Bug Fixes

v2.9.6

Compare Source

Bug Fixes

v2.9.5

Compare Source

Changes
  • 10677 chaudum Remove deprecated stream_lag_labels setting from both the options and client configuration sections.
  • 10689 dylanguedes: Ingester: Make jitter to be 20% of flush check period instead of 1%.
  • 11420 zry98: Show a clearer reason in "disable watchConfig" log message when server is disabled.
Fixes
  • 10631 thampiotr: Fix race condition in cleaning up metrics when stopping to tail files.
  • 10798 hainenber: Fix agent panicking after reloaded due to duplicate metric collector registration.
  • 10848 rgroothuijsen: Correctly parse list of drop stage sources from YAML.
LogCLI
  • 11852 MichelHollands: feat: update logcli so it tries to load the latest version of the schemaconfig
Mixins
  • 11087 JoaoBraveCoding: Adds structured metadata panels for ingested data
  • 11637 JoaoBraveCoding: Add route to write Distributor Latency dashboard
Fixes
FluentD
Jsonnet
  • 11312 sentoz: Loki ksonnet: Do not generate configMap for consul if you are using memberlist

  • 11020 ashwanthgoli: Loki ksonnet: Do not generate table-manager manifests if shipper store is in-use.

  • 10784 slim-bean Update index gateway client to use a headless service.

  • 10542 chaudum: Remove legacy deployment mode for ingester (Deployment, without WAL) and instead always run them as StatefulSet.

v2.9.4

Compare Source

This is release v2.9.4 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.
  • Fixed the discrepancy between the semantics of logs and metrics queries.
  • Fixed promtail default scrape config causing CPU and memory load
  • Update golang.org/x/crypto to v0.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:
$ docker pull "grafana/loki:2.9.4"
$ docker pull "grafana/promtail:2.9.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.9.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.9.3

Compare Source

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:
$ 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

Compare Source

All Changes
Security

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.

@renovate renovate bot changed the title Update grafana/loki Docker tag to v3 Update grafana/loki Docker tag to v3 - autoclosed Apr 10, 2024
@renovate renovate bot closed this Apr 10, 2024
@renovate renovate bot deleted the renovate/grafana-loki-3.x branch April 10, 2024 06:20
@renovate renovate bot restored the renovate/grafana-loki-3.x branch April 10, 2024 12:09
@renovate renovate bot changed the title Update grafana/loki Docker tag to v3 - autoclosed Update grafana/loki Docker tag to v3 Apr 10, 2024
@renovate renovate bot reopened this Apr 10, 2024
@renovate renovate bot force-pushed the renovate/grafana-loki-3.x branch from bd66e61 to cfe41d9 Compare April 10, 2024 12:09
@renovate renovate bot changed the title Update grafana/loki Docker tag to v3 Update grafana/loki Docker tag to v3 - autoclosed Apr 13, 2024
@renovate renovate bot closed this Apr 13, 2024
@renovate renovate bot deleted the renovate/grafana-loki-3.x branch April 13, 2024 03:21
@renovate renovate bot changed the title Update grafana/loki Docker tag to v3 - autoclosed Update grafana/loki Docker tag to v3 Apr 13, 2024
@renovate renovate bot restored the renovate/grafana-loki-3.x branch April 13, 2024 06:39
@renovate renovate bot reopened this Apr 13, 2024
@renovate renovate bot force-pushed the renovate/grafana-loki-3.x branch from cfe41d9 to a391b26 Compare April 13, 2024 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants