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

chore(deps): update loki #308

Closed
wants to merge 1 commit into from
Closed

chore(deps): update loki #308

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 28, 2024

This PR contains the following updates:

Package Update Change
cgr.dev/du-uds-defenseunicorns/loki (source) major 2.9.8 -> 3.1.1
cgr.dev/du-uds-defenseunicorns/nginx-fips (source) patch 1.27.0 -> 1.27.1
docker.io/grafana/loki major 2.9.6 -> 3.1.1
docker.io/nginxinc/nginx-unprivileged minor 1.25-alpine -> 1.27-alpine
loki (source) major 5.47.1 -> 6.12.0
registry1.dso.mil/ironbank/opensource/grafana/loki (source) major 2.9.6 -> 3.1.1
registry1.dso.mil/ironbank/opensource/nginx/nginx-alpine (source) minor 1.25.3 -> 1.26.2

Release Notes

grafana/loki (docker.io/grafana/loki)

v3.1.1

Compare Source

Features
  • loki: add ability to disable AWS S3 dual stack endpoints usage (#​13795) (464ac73)
Bug Fixes

v3.1.0

Compare Source

⚠ BREAKING CHANGES
  • update helm chart to support distributed mode and 3.0 (#​12067)
Features
Bug Fixes
Performance Improvements

v3.0.1

Compare Source

Bug Fixes

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](https://redirec

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title chore(deps): update loki to v5.47.2 chore(deps): update loki Apr 8, 2024
@renovate renovate bot changed the title chore(deps): update loki chore(deps): update loki to v6 Apr 9, 2024
@renovate renovate bot changed the title chore(deps): update loki to v6 chore(deps): update loki Apr 9, 2024
@renovate renovate bot force-pushed the renovate/loki branch 2 times, most recently from b630008 to 2054180 Compare April 11, 2024 13:57
@mjnagel mjnagel added the waiting on ironbank This PR is waiting on an image update for ironbank label Apr 11, 2024
@renovate renovate bot force-pushed the renovate/loki branch 3 times, most recently from 5dbee55 to 1823f12 Compare April 18, 2024 13:28
@mjnagel mjnagel removed the waiting on ironbank This PR is waiting on an image update for ironbank label Apr 18, 2024
@renovate renovate bot force-pushed the renovate/loki branch 8 times, most recently from 7565ba2 to c961412 Compare April 25, 2024 02:17
@renovate renovate bot force-pushed the renovate/loki branch 6 times, most recently from ac5013f to 62a4e6a Compare May 7, 2024 00:31
@mjnagel
Copy link
Contributor

mjnagel commented May 9, 2024

There will likely be some helm values restructuring/updates for this, see https://grafana.com/docs/loki/latest/setup/upgrade/upgrade-to-6x/

In addition we may need to tweak our promtail setup to reduce the number of labels we pick up, see 4th bullet on https://grafana.com/docs/loki/latest/setup/upgrade/#300 which mentions a 15 label limit now and reduced performance if you increase that. There are likely two routes we could go:

  • leave the default labelling, and drop some extra labels that don't seem necessary
  • craft our own opinionated set of labels to explicitly add, remove any defaults

@renovate renovate bot force-pushed the renovate/loki branch 3 times, most recently from a598023 to 6d6cf8a Compare May 13, 2024 19:37
@UnicornChance UnicornChance mentioned this pull request May 30, 2024
5 tasks
@renovate renovate bot force-pushed the renovate/loki branch 2 times, most recently from 0e9dbef to bac42e5 Compare June 6, 2024 17:37
@renovate renovate bot force-pushed the renovate/loki branch 2 times, most recently from 7faaeb5 to b3adf6f Compare June 24, 2024 14:18
@renovate renovate bot force-pushed the renovate/loki branch 3 times, most recently from b809674 to a1bc5e1 Compare July 3, 2024 21:13
@renovate renovate bot force-pushed the renovate/loki branch 4 times, most recently from 3ebf79f to 8a1cb9d Compare July 16, 2024 23:01
@renovate renovate bot force-pushed the renovate/loki branch 2 times, most recently from d6d9e48 to 7ea8b9e Compare July 24, 2024 18:20
@renovate renovate bot force-pushed the renovate/loki branch 2 times, most recently from 87fc44b to caf74ee Compare August 5, 2024 21:07
@renovate renovate bot requested a review from a team as a code owner August 5, 2024 21:07
@renovate renovate bot force-pushed the renovate/loki branch 3 times, most recently from b65b486 to 62bd302 Compare August 9, 2024 13:22
@renovate renovate bot force-pushed the renovate/loki branch 4 times, most recently from 0170fbc to 1d4a5e6 Compare September 3, 2024 18:06
| datasource | package                                                  | from   | to     |
| ---------- | -------------------------------------------------------- | ------ | ------ |
| docker     | cgr.dev/du-uds-defenseunicorns/loki                      | 2.9.8  | 3.1.1  |
| docker     | cgr.dev/du-uds-defenseunicorns/nginx-fips                | 1.27.0 | 1.27.1 |
| docker     | docker.io/grafana/loki                                   | 2.9.6  | 3.1.1  |
| docker     | docker.io/nginxinc/nginx-unprivileged                    | 1.25   | 1.27   |
| helm       | loki                                                     | 5.47.1 | 6.12.0 |
| docker     | registry1.dso.mil/ironbank/opensource/grafana/loki       | 2.9.6  | 3.1.1  |
| docker     | registry1.dso.mil/ironbank/opensource/nginx/nginx-alpine | 1.25.3 | 1.26.2 |
mjnagel added a commit that referenced this pull request Sep 11, 2024
## Description
Updates for bringing in loki renovate updates

## Related Issue

Fixes #308 

## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [x] Test, docs, adr added or updated as needed
- [x] [Contributor Guide
Steps](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md)(https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md#submitting-a-pull-request)
followed

---------

Co-authored-by: Micah Nagel <micah.nagel@defenseunicorns.com>
Co-authored-by: Rob Ferguson <rjferguson21@gmail.com>
@mjnagel mjnagel closed this in #449 Sep 11, 2024
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.

1 participant