Skip to content

Commit e150acb

Browse files
authored
[release-2.17] Update version number to 2.17.0 (#12402)
Update version number to 2.17.0 final, and merge the RC items in the changelog Part of #12039
1 parent 1a8294e commit e150acb

File tree

76 files changed

+861
-880
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+861
-880
lines changed

CHANGELOG.md

Lines changed: 32 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,6 @@
11
# Changelog
22

3-
## 2.17.0-rc.2
4-
5-
### Grafana Mimir
6-
7-
* [ENHANCEMENT] Stagger head compaction intervals across zones to prevent compactions from aligning simultaneously, which could otherwise cause strong consistency queries to fail when experimental ingest storage is enabled. #12090
8-
* [ENHANCEMENT] Compactor: Add `-compactor.update-blocks-concurrency` flag to control concurrency for updating block metadata during bucket index updates, separate from deletion marker concurrency. #12117
9-
* [ENHANCEMENT] Query-frontend: Allow users to set the `query-frontend.extra-propagated-headers` flag to specify the extra headers allowed to pass through to the rest of the query path. #12174
10-
* [BUGFIX] Ingester: Fix issue where ingesters can exit read-only mode during idle compactions, resulting in write errors. #12128
11-
* [BUGFIX] otlp: Reverts #11889 which has a pooled memory re-use bug. #12266
12-
13-
## 2.17.0-rc.1
14-
15-
### Grafana Mimir
16-
17-
* [FEATURE] Distributor: Add experimental `-distributor.otel-native-delta-ingestion` option to allow primitive delta metrics ingestion via the OTLP endpoint. #11631
18-
* [FEATURE] MQE: Add support for experimental `sort_by_label` and `sort_by_label_desc` PromQL functions. #11930
19-
* [FEATURE] Ingester/Block-builder: Handle the created timestamp field for remote-write requests. #11977
20-
* [FEATURE] Cost attribution: Labels specified in the limit configuration may specify an output label in order to override emitted label names. #12035
21-
* [ENHANCEMENT] Ingester: Display user grace interval in the tenant list obtained through the `/ingester/tenants` endpoint. #11961
22-
* [ENHANCEMENT] `kafkatool`: add `consumer-group delete-offset` command as a way to delete the committed offset for a consumer group. #11988
23-
* [ENHANCEMENT] Block-builder-scheduler: Detect gaps in scheduled and completed jobs. #11867
24-
* [ENHANCEMENT] Distributor: Experimental support for Prometheus Remote-Write 2.0 protocol has been updated. Created timestamps are now supported. This feature includes some limitations. If samples in a write request aren't ordered by time, the created timestamp might be dropped. Additionally, per-series metadata is automatically merged on the metric family level. Ingestion might fail if the client sends ProtoBuf fields out-of-order. The label `version` is added to the metric `cortex_distributor_requests_in_total` with a value of either `1.0` or `2.0`, depending on the detected remote-write protocol. #11977
25-
* [ENHANCEMENT] Query-frontend: Added labels query optimizer that automatically removes redundant `__name__!=""` matchers from label names and label values queries, improving query performance. You can enable the optimizer per-tenant with the `labels_query_optimizer_enabled` runtime configuration flag. #12054 #12066 #12076 #12080
26-
* [ENHANCEMENT] Query-frontend: Standardise non-regex patterns in query blocking upon loading of config. #12102
27-
* [ENHANCEMENT] Ruler: Propagate GCS object mutation rate limit for rule group uploads. #12086
28-
* [BUGFIX] Distributor: Validate the RW2 symbols field and reject invalid requests that don't have an empty string as the first symbol. #11953
29-
* [BUGFIX] Distributor: Check `max_inflight_push_requests_bytes` before decompressing incoming requests. #11967
30-
* [BUGFIX] Query-frontend: Allow limit parameter to be 0 in label queries to explicitly request unlimited results. #12054
31-
* [BUGFIX] Distributor: Fix a possible panic in the OTLP push path while handling a gRPC status error. #12072
32-
* [BUGFIX] Query-frontend: Evaluate experimental duration expressions before sharding, splitting, and caching. Otherwise, the result is not correct. #12038
33-
* [BUGFIX] Block-builder-scheduler: Fix bugs in handling of partitions with no commit. #12130
34-
35-
### Mixin
36-
37-
* [CHANGE] Remove support for the experimental read-write deployment mode. #11975
38-
* [CHANGE] Alerts: Replace namespace with job label in golang_alerts. #11957
39-
* [FEATURE] Add an alert if the block-builder-scheduler detects that it has skipped data. #12118
40-
41-
### Jsonnet
42-
43-
* [CHANGE] Removed support for the experimental read-write deployment mode. #11974
44-
* [ENHANCEMENT] Add assertion to ensure ingester ScaledObject has minimum and maximum replicas set to a value greater than 0. #11979
45-
* [ENHANCEMENT] Add `ingest_storage_migration_ignore_ingest_storage_errors` and `ingest_storage_migration_ingest_storage_max_wait_time` configs to control error handling of the partition ingesters during ingest storage migrations. #12105
46-
* [ENHANCEMENT] Add block-builder job processing duration timings and offset-skipped errors to the Block-builder dashboard. #12118
47-
48-
### Documentation
49-
50-
* [ENHANCEMENT] Update the `MimirIngestedDataTooFarInTheFuture` runbook with a note about false positives and the endpoint to flush TSDB blocks by user. #11961
51-
52-
## 2.17.0-rc.0
3+
## 2.17.0
534

545
### Grafana Mimir
556

@@ -88,6 +39,10 @@
8839
* [FEATURE] You can configure Mimir to export traces in OTLP exposition format through the standard `OTEL_` environment variables. #11618
8940
* [FEATURE] distributor: Allow configuring tenant-specific HA tracker failover timeouts. #11774
9041
* [FEATURE] OTLP: Add experimental support for promoting OTel scope metadata (name, version, schema URL, attributes) to metric labels, prefixed with `otel_scope_`. Enable via the `-distributor.otel-promote-scope-metadata` flag. #11795
42+
* [FEATURE] Distributor: Add experimental `-distributor.otel-native-delta-ingestion` option to allow primitive delta metrics ingestion via the OTLP endpoint. #11631
43+
* [FEATURE] MQE: Add support for experimental `sort_by_label` and `sort_by_label_desc` PromQL functions. #11930
44+
* [FEATURE] Ingester/Block-builder: Handle the created timestamp field for remote-write requests. #11977
45+
* [FEATURE] Cost attribution: Labels specified in the limit configuration may specify an output label in order to override emitted label names. #12035
9146
* [ENHANCEMENT] Dashboards: Add "Influx write requests" row to Writes Dashboard. #11731
9247
* [ENHANCEMENT] Mixin: Add `MimirHighVolumeLevel1BlocksQueried` alert that fires when level 1 blocks are queried for more than 6 hours, indicating potential compactor performance issues. #11803
9348
* [ENHANCEMENT] Querier: Make the maximum series limit for cardinality API requests configurable on a per-tenant basis with the `cardinality_analysis_max_results` option. #11456
@@ -157,6 +112,16 @@
157112
* [ENHANCEMENT] Store-gateway: Change level 0 blocks to be reported as 'unknown/old_block' in metrics instead of '0' to improve clarity. Level 0 indicates blocks with metadata from before compaction level tracking was added to the bucket index. #11891
158113
* [ENHANCEMENT] Compactor, distributor, ruler, scheduler and store-gateway: Makes `-<component-ring-config>.auto-forget-unhealthy-periods` configurable for each component. Deprecates the `-store-gateway.sharding-ring.auto-forget-enabled` flag. #11923
159114
* [ENHANCEMENT] otlp: Stick to OTLP vocabulary on invalid label value length error. #11889
115+
* [ENHANCEMENT] Ingester: Display user grace interval in the tenant list obtained through the `/ingester/tenants` endpoint. #11961
116+
* [ENHANCEMENT] `kafkatool`: add `consumer-group delete-offset` command as a way to delete the committed offset for a consumer group. #11988
117+
* [ENHANCEMENT] Block-builder-scheduler: Detect gaps in scheduled and completed jobs. #11867
118+
* [ENHANCEMENT] Distributor: Experimental support for Prometheus Remote-Write 2.0 protocol has been updated. Created timestamps are now supported. This feature includes some limitations. If samples in a write request aren't ordered by time, the created timestamp might be dropped. Additionally, per-series metadata is automatically merged on the metric family level. Ingestion might fail if the client sends ProtoBuf fields out-of-order. The label `version` is added to the metric `cortex_distributor_requests_in_total` with a value of either `1.0` or `2.0`, depending on the detected remote-write protocol. #11977
119+
* [ENHANCEMENT] Query-frontend: Added labels query optimizer that automatically removes redundant `__name__!=""` matchers from label names and label values queries, improving query performance. You can enable the optimizer per-tenant with the `labels_query_optimizer_enabled` runtime configuration flag. #12054 #12066 #12076 #12080
120+
* [ENHANCEMENT] Query-frontend: Standardise non-regex patterns in query blocking upon loading of config. #12102
121+
* [ENHANCEMENT] Ruler: Propagate GCS object mutation rate limit for rule group uploads. #12086
122+
* [ENHANCEMENT] Stagger head compaction intervals across zones to prevent compactions from aligning simultaneously, which could otherwise cause strong consistency queries to fail when experimental ingest storage is enabled. #12090
123+
* [ENHANCEMENT] Compactor: Add `-compactor.update-blocks-concurrency` flag to control concurrency for updating block metadata during bucket index updates, separate from deletion marker concurrency. #12117
124+
* [ENHANCEMENT] Query-frontend: Allow users to set the `query-frontend.extra-propagated-headers` flag to specify the extra headers allowed to pass through to the rest of the query path. #12174
160125
* [BUGFIX] OTLP: Fix response body and Content-Type header to align with spec. #10852
161126
* [BUGFIX] Compactor: fix issue where block becomes permanently stuck when the Compactor's block cleanup job partially deletes a block. #10888
162127
* [BUGFIX] Storage: fix intermittent failures in S3 upload retries. #10952
@@ -182,11 +147,22 @@
182147
* [BUGFIX] Ruler: Fix rare panic when the ruler is shutting down. #11781
183148
* [BUGFIX] Block-builder-scheduler: Fix data loss bug in job assignment. #11785
184149
* [BUGFIX] Compactor: start tracking `-compactor.max-compaction-time` after the initial compaction planning phase, to avoid rare cases where planning takes longer than `-compactor.max-compaction-time` and so actual compaction never runs for a tenant. #11834
150+
* [BUGFIX] Distributor: Validate the RW2 symbols field and reject invalid requests that don't have an empty string as the first symbol. #11953
151+
* [BUGFIX] Distributor: Check `max_inflight_push_requests_bytes` before decompressing incoming requests. #11967
152+
* [BUGFIX] Query-frontend: Allow limit parameter to be 0 in label queries to explicitly request unlimited results. #12054
153+
* [BUGFIX] Distributor: Fix a possible panic in the OTLP push path while handling a gRPC status error. #12072
154+
* [BUGFIX] Query-frontend: Evaluate experimental duration expressions before sharding, splitting, and caching. Otherwise, the result is not correct. #12038
155+
* [BUGFIX] Block-builder-scheduler: Fix bugs in handling of partitions with no commit. #12130
156+
* [BUGFIX] Ingester: Fix issue where ingesters can exit read-only mode during idle compactions, resulting in write errors. #12128
157+
* [BUGFIX] otlp: Reverts #11889 which has a pooled memory re-use bug. #12266
185158

186159
### Mixin
187160

188161
* [CHANGE] Alerts: Update the query for `MimirBucketIndexNotUpdated` to use `max_over_time` to prevent alert firing when pods rotate. #11311, #11426
189-
* [CHANGE] Alerts: Make alerting threshold for `DistributorGcUsesTooMuchCpu` configurable. #11508.
162+
* [CHANGE] Alerts: Make alerting threshold for `DistributorGcUsesTooMuchCpu` configurable. #11508
163+
* [CHANGE] Remove support for the experimental read-write deployment mode. #11975
164+
* [CHANGE] Alerts: Replace namespace with job label in golang_alerts. #11957
165+
* [FEATURE] Add an alert if the block-builder-scheduler detects that it has skipped data. #12118
190166
* [ENHANCEMENT] Dashboards: Include absolute number of notifications attempted to alertmanager in 'Mimir / Ruler'. #10918
191167
* [ENHANCEMENT] Alerts: Make `MimirRolloutStuck` a critical alert if it has been firing for 6h. #10890
192168
* [ENHANCEMENT] Dashboards: Add panels to the `Mimir / Tenants` and `Mimir / Top Tenants` dashboards showing the rate of gateway requests. #10978
@@ -213,6 +189,7 @@
213189
* [CHANGE] Enable `memberlist.abort-if-fast-join-fails` for ingesters using memberlist #11931 #11950
214190
* [CHANGE] Remove average per-pod series scaling trigger for ingest storage ingester HPA and use one based on max owned series instead. #11952
215191
* [CHANGE] Add `store_gateway_grpc_max_query_response_size_bytes` config option to set the max store-gateway gRCP query response send size (and corresponsing querier receive size), and set to 200MB by default. #11968
192+
* [CHANGE] Removed support for the experimental read-write deployment mode. #11974
216193
* [FEATURE] Make ingest storage ingester HPA behavior configurable through `_config.ingest_storage_ingester_hpa_behavior`. #11168
217194
* [FEATURE] Add an alternate ingest storage HPA trigger that targets maximum owned series per pod. #11356
218195
* [FEATURE] Make tracing of HTTP headers as span attributes configurable through `_config.trace_request_headers`. You can exclude certain headers from being traced using `_config.trace_request_exclude_headers_list`. #11655 #11714
@@ -221,6 +198,9 @@
221198
* [ENHANCEMENT] Add `query_frontend_only_args` option to specify CLI flags that apply only to query-frontends but not ruler-query-frontends. #11799
222199
* [ENHANCEMENT] Make querier scale up (`$_config.autoscaling_querier_scaleup_percent_cap`) and scale down rates (`$_config.autoscaling_querier_scaledown_percent_cap`) configurable. #11862
223200
* [ENHANCEMENT] Set resource requests and limits for the Memcached Prometheus exporter. #11933 #11946
201+
* [ENHANCEMENT] Add assertion to ensure ingester ScaledObject has minimum and maximum replicas set to a value greater than 0. #11979
202+
* [ENHANCEMENT] Add `ingest_storage_migration_ignore_ingest_storage_errors` and `ingest_storage_migration_ingest_storage_max_wait_time` configs to control error handling of the partition ingesters during ingest storage migrations. #12105
203+
* [ENHANCEMENT] Add block-builder job processing duration timings and offset-skipped errors to the Block-builder dashboard. #12118
224204
* [BUGFIX] Honor `weight` argument when building memory HPA query for resource scaled objects. #11935
225205

226206
### Mimirtool
@@ -240,6 +220,7 @@
240220
### Documentation
241221

242222
* [ENHANCEMENT] Update Thanos to Mimir migration guide with a tip to add the `__tenant_id__` label. #11584
223+
* [ENHANCEMENT] Update the `MimirIngestedDataTooFarInTheFuture` runbook with a note about false positives and the endpoint to flush TSDB blocks by user. #11961
243224

244225
### Tools
245226

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.17.0-rc.2
1+
2.17.0

operations/mimir-rules-action/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: AGPL-3.0-only
22

3-
FROM grafana/mimirtool:2.16.1
3+
FROM grafana/mimirtool:2.17.0
44

55
COPY entrypoint.sh /entrypoint.sh
66

operations/mimir-tests/test-all-components-generated.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ spec:
532532
env:
533533
- name: GOMAXPROCS
534534
value: "8"
535-
image: grafana/mimir:2.16.1
535+
image: grafana/mimir:2.17.0
536536
imagePullPolicy: IfNotPresent
537537
name: distributor
538538
ports:
@@ -628,7 +628,7 @@ spec:
628628
env:
629629
- name: GOMAXPROCS
630630
value: "5"
631-
image: grafana/mimir:2.16.1
631+
image: grafana/mimir:2.17.0
632632
imagePullPolicy: IfNotPresent
633633
name: querier
634634
ports:
@@ -706,7 +706,7 @@ spec:
706706
- -shutdown-delay=90s
707707
- -target=query-frontend
708708
- -usage-stats.installation-mode=jsonnet
709-
image: grafana/mimir:2.16.1
709+
image: grafana/mimir:2.17.0
710710
imagePullPolicy: IfNotPresent
711711
name: query-frontend
712712
ports:
@@ -778,7 +778,7 @@ spec:
778778
- -server.http-listen-port=8080
779779
- -target=query-scheduler
780780
- -usage-stats.installation-mode=jsonnet
781-
image: grafana/mimir:2.16.1
781+
image: grafana/mimir:2.17.0
782782
imagePullPolicy: IfNotPresent
783783
name: query-scheduler
784784
ports:
@@ -869,7 +869,7 @@ spec:
869869
- -store-gateway.sharding-ring.store=memberlist
870870
- -target=ruler
871871
- -usage-stats.installation-mode=jsonnet
872-
image: grafana/mimir:2.16.1
872+
image: grafana/mimir:2.17.0
873873
imagePullPolicy: IfNotPresent
874874
name: ruler
875875
ports:
@@ -947,7 +947,7 @@ spec:
947947
valueFrom:
948948
fieldRef:
949949
fieldPath: status.podIP
950-
image: grafana/mimir:2.16.1
950+
image: grafana/mimir:2.17.0
951951
imagePullPolicy: IfNotPresent
952952
name: alertmanager
953953
ports:
@@ -1046,7 +1046,7 @@ spec:
10461046
- -server.http-listen-port=8080
10471047
- -target=compactor
10481048
- -usage-stats.installation-mode=jsonnet
1049-
image: grafana/mimir:2.16.1
1049+
image: grafana/mimir:2.17.0
10501050
imagePullPolicy: IfNotPresent
10511051
name: compactor
10521052
ports:
@@ -1156,7 +1156,7 @@ spec:
11561156
env:
11571157
- name: GOMAXPROCS
11581158
value: "9"
1159-
image: grafana/mimir:2.16.1
1159+
image: grafana/mimir:2.17.0
11601160
imagePullPolicy: IfNotPresent
11611161
name: ingester
11621162
ports:
@@ -1516,7 +1516,7 @@ spec:
15161516
value: "5"
15171517
- name: GOMEMLIMIT
15181518
value: "12884901888"
1519-
image: grafana/mimir:2.16.1
1519+
image: grafana/mimir:2.17.0
15201520
imagePullPolicy: IfNotPresent
15211521
name: store-gateway
15221522
ports:

operations/mimir-tests/test-all-components-with-custom-max-skew-generated.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ spec:
532532
env:
533533
- name: GOMAXPROCS
534534
value: "8"
535-
image: grafana/mimir:2.16.1
535+
image: grafana/mimir:2.17.0
536536
imagePullPolicy: IfNotPresent
537537
name: distributor
538538
ports:
@@ -628,7 +628,7 @@ spec:
628628
env:
629629
- name: GOMAXPROCS
630630
value: "5"
631-
image: grafana/mimir:2.16.1
631+
image: grafana/mimir:2.17.0
632632
imagePullPolicy: IfNotPresent
633633
name: querier
634634
ports:
@@ -706,7 +706,7 @@ spec:
706706
- -shutdown-delay=90s
707707
- -target=query-frontend
708708
- -usage-stats.installation-mode=jsonnet
709-
image: grafana/mimir:2.16.1
709+
image: grafana/mimir:2.17.0
710710
imagePullPolicy: IfNotPresent
711711
name: query-frontend
712712
ports:
@@ -778,7 +778,7 @@ spec:
778778
- -server.http-listen-port=8080
779779
- -target=query-scheduler
780780
- -usage-stats.installation-mode=jsonnet
781-
image: grafana/mimir:2.16.1
781+
image: grafana/mimir:2.17.0
782782
imagePullPolicy: IfNotPresent
783783
name: query-scheduler
784784
ports:
@@ -869,7 +869,7 @@ spec:
869869
- -store-gateway.sharding-ring.store=memberlist
870870
- -target=ruler
871871
- -usage-stats.installation-mode=jsonnet
872-
image: grafana/mimir:2.16.1
872+
image: grafana/mimir:2.17.0
873873
imagePullPolicy: IfNotPresent
874874
name: ruler
875875
ports:
@@ -947,7 +947,7 @@ spec:
947947
valueFrom:
948948
fieldRef:
949949
fieldPath: status.podIP
950-
image: grafana/mimir:2.16.1
950+
image: grafana/mimir:2.17.0
951951
imagePullPolicy: IfNotPresent
952952
name: alertmanager
953953
ports:
@@ -1046,7 +1046,7 @@ spec:
10461046
- -server.http-listen-port=8080
10471047
- -target=compactor
10481048
- -usage-stats.installation-mode=jsonnet
1049-
image: grafana/mimir:2.16.1
1049+
image: grafana/mimir:2.17.0
10501050
imagePullPolicy: IfNotPresent
10511051
name: compactor
10521052
ports:
@@ -1156,7 +1156,7 @@ spec:
11561156
env:
11571157
- name: GOMAXPROCS
11581158
value: "9"
1159-
image: grafana/mimir:2.16.1
1159+
image: grafana/mimir:2.17.0
11601160
imagePullPolicy: IfNotPresent
11611161
name: ingester
11621162
ports:
@@ -1516,7 +1516,7 @@ spec:
15161516
value: "5"
15171517
- name: GOMEMLIMIT
15181518
value: "12884901888"
1519-
image: grafana/mimir:2.16.1
1519+
image: grafana/mimir:2.17.0
15201520
imagePullPolicy: IfNotPresent
15211521
name: store-gateway
15221522
ports:

0 commit comments

Comments
 (0)