Skip to content

Commit

Permalink
Merge release-2.15 branch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
chencs committed Jan 6, 2025
2 parents 9e94f1c + fbb9cd8 commit 7f979c0
Show file tree
Hide file tree
Showing 80 changed files with 874 additions and 872 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

* [CHANGE] `copyblocks`: Remove /pprof endpoint. #10329

## 2.15.0-rc.0
## 2.15.0

### Grafana Mimir

Expand All @@ -69,6 +69,7 @@
* [CHANGE] Distributor: Drop experimental `-distributor.direct-otlp-translation-enabled` flag, since direct OTLP translation is well tested at this point. #9647
* [CHANGE] Ingester: Change `-initial-delay` for circuit breakers to begin when the first request is received, rather than at breaker activation. #9842
* [CHANGE] Query-frontend: apply query pruning before query sharding instead of after. #9913
* [CHANGE] Ingester: remove experimental flags `-ingest-storage.kafka.ongoing-records-per-fetch` and `-ingest-storage.kafka.startup-records-per-fetch`. They are removed in favour of `-ingest-storage.kafka.max-buffered-bytes`. #9906
* [CHANGE] Ingester: Replace `cortex_discarded_samples_total` label from `sample-out-of-bounds` to `sample-timestamp-too-old`. #9885
* [CHANGE] Ruler: the `/prometheus/config/v1/rules` does not return an error anymore if a rule group is missing in the object storage after been successfully returned by listing the storage, because it could have been deleted in the meanwhile. #9936
* [CHANGE] Querier: The `.` pattern in regular expressions in PromQL matches newline characters. With this change regular expressions like `.*` match strings that include `\n`. To maintain the old behaviour, you will have to change regular expressions by replacing all `.` patterns with `[^\n]`, e.g. `foo[^\n]*`. This upgrades PromQL compatibility from Prometheus 2.0 to 3.0. #9844
Expand Down Expand Up @@ -126,6 +127,7 @@
* [ENHANCEMENT] Compactor: refresh deletion marks when updating the bucket index concurrently. This speeds up updating the bucket index by up to 16 times when there is a lot of blocks churn (thousands of blocks churning every cleanup cycle). #9881
* [ENHANCEMENT] PromQL: make `sort_by_label` stable. #9879
* [ENHANCEMENT] Distributor: Initialize ha_tracker cache before ha_tracker and distributor reach running state and begin serving writes. #9826 #9976
* [ENHANCEMENT] Ingester: `-ingest-storage.kafka.max-buffered-bytes` to limit the memory for buffered records when using concurrent fetching. #9892
* [ENHANCEMENT] Querier: improve performance and memory consumption of queries that select many series. #9914
* [ENHANCEMENT] Ruler: Support OAuth2 and proxies in Alertmanager client #9945 #10030
* [ENHANCEMENT] Ingester: Add `-blocks-storage.tsdb.bigger-out-of-order-blocks-for-old-samples` to build 24h blocks for out-of-order data belonging to the previous days instead of building smaller 2h blocks. This reduces pressure on compactors and ingesters when the out-of-order samples span multiple days in the past. #9844 #10033 #10035
Expand Down Expand Up @@ -317,7 +319,7 @@
* [ENHANCEMENT] Update runtime configuration to read gzip-compressed files with `.gz` extension. #9074
* [ENHANCEMENT] Ingester: add `cortex_lifecycler_read_only` metric which is set to 1 when ingester's lifecycler is set to read-only mode. #9095
* [ENHANCEMENT] Add a new field, `encode_time_seconds` to query stats log messages, to record the amount of time it takes the query-frontend to encode a response. This does not include any serialization time for downstream components. #9062
* [ENHANCEMENT] OTLP: If the flag `-distributor.otel-created-timestamp-zero-ingestion-enabled` is true, OTel start timestamps are converted to Prometheus zero samples to mark series start. #9131
* [ENHANCEMENT] OTLP: If the flag `-distributor.otel-created-timestamp-zero-ingestion-enabled` is true, OTel start timestamps are converted to Prometheus zero samples to mark series start. #9131 #10053
* [ENHANCEMENT] Querier: attach logs emitted during query consistency check to trace span for query. #9213
* [ENHANCEMENT] Query-scheduler: Experimental `-query-scheduler.prioritize-query-components` flag enables the querier-worker queue priority algorithm to take precedence over tenant rotation when dequeuing requests. #9220
* [ENHANCEMENT] Add application credential arguments for Openstack Swift storage backend. #9181
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.15.0-rc.0
2.15.0
2 changes: 1 addition & 1 deletion operations/mimir-rules-action/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-only

FROM grafana/mimirtool:2.14.2
FROM grafana/mimirtool:2.15.0

COPY entrypoint.sh /entrypoint.sh

Expand Down
18 changes: 9 additions & 9 deletions operations/mimir-tests/test-all-components-generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ spec:
value: "8"
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "1000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: distributor
ports:
Expand Down Expand Up @@ -631,7 +631,7 @@ spec:
value: "5"
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "5000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: querier
ports:
Expand Down Expand Up @@ -712,7 +712,7 @@ spec:
env:
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "5000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: query-frontend
ports:
Expand Down Expand Up @@ -784,7 +784,7 @@ spec:
- -server.http-listen-port=8080
- -target=query-scheduler
- -usage-stats.installation-mode=jsonnet
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: query-scheduler
ports:
Expand Down Expand Up @@ -877,7 +877,7 @@ spec:
env:
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "1000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: ruler
ports:
Expand Down Expand Up @@ -955,7 +955,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: alertmanager
ports:
Expand Down Expand Up @@ -1054,7 +1054,7 @@ spec:
- -server.http-listen-port=8080
- -target=compactor
- -usage-stats.installation-mode=jsonnet
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: compactor
ports:
Expand Down Expand Up @@ -1165,7 +1165,7 @@ spec:
value: "9"
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "1000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: ingester
ports:
Expand Down Expand Up @@ -1502,7 +1502,7 @@ spec:
value: "12884901888"
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "1000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: store-gateway
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ spec:
value: "8"
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "1000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: distributor
ports:
Expand Down Expand Up @@ -631,7 +631,7 @@ spec:
value: "5"
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "5000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: querier
ports:
Expand Down Expand Up @@ -712,7 +712,7 @@ spec:
env:
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "5000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: query-frontend
ports:
Expand Down Expand Up @@ -784,7 +784,7 @@ spec:
- -server.http-listen-port=8080
- -target=query-scheduler
- -usage-stats.installation-mode=jsonnet
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: query-scheduler
ports:
Expand Down Expand Up @@ -877,7 +877,7 @@ spec:
env:
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "1000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: ruler
ports:
Expand Down Expand Up @@ -955,7 +955,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: alertmanager
ports:
Expand Down Expand Up @@ -1054,7 +1054,7 @@ spec:
- -server.http-listen-port=8080
- -target=compactor
- -usage-stats.installation-mode=jsonnet
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: compactor
ports:
Expand Down Expand Up @@ -1165,7 +1165,7 @@ spec:
value: "9"
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "1000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: ingester
ports:
Expand Down Expand Up @@ -1502,7 +1502,7 @@ spec:
value: "12884901888"
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "1000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: store-gateway
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ spec:
value: "8"
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "1000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: distributor
ports:
Expand Down Expand Up @@ -640,7 +640,7 @@ spec:
value: "5"
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "5000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: querier
ports:
Expand Down Expand Up @@ -721,7 +721,7 @@ spec:
env:
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "5000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: query-frontend
ports:
Expand Down Expand Up @@ -793,7 +793,7 @@ spec:
- -server.http-listen-port=8080
- -target=query-scheduler
- -usage-stats.installation-mode=jsonnet
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: query-scheduler
ports:
Expand Down Expand Up @@ -886,7 +886,7 @@ spec:
env:
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "1000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: ruler
ports:
Expand Down Expand Up @@ -964,7 +964,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: alertmanager
ports:
Expand Down Expand Up @@ -1063,7 +1063,7 @@ spec:
- -server.http-listen-port=8080
- -target=compactor
- -usage-stats.installation-mode=jsonnet
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: compactor
ports:
Expand Down Expand Up @@ -1174,7 +1174,7 @@ spec:
value: "9"
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "1000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: ingester
ports:
Expand Down Expand Up @@ -1511,7 +1511,7 @@ spec:
value: "12884901888"
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "1000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: store-gateway
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ spec:
value: "8"
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "1000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: distributor
ports:
Expand Down Expand Up @@ -631,7 +631,7 @@ spec:
value: "5"
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "5000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: querier
ports:
Expand Down Expand Up @@ -712,7 +712,7 @@ spec:
env:
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "5000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: query-frontend
ports:
Expand Down Expand Up @@ -784,7 +784,7 @@ spec:
- -server.http-listen-port=8080
- -target=query-scheduler
- -usage-stats.installation-mode=jsonnet
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: query-scheduler
ports:
Expand Down Expand Up @@ -877,7 +877,7 @@ spec:
env:
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "1000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: ruler
ports:
Expand Down Expand Up @@ -955,7 +955,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: alertmanager
ports:
Expand Down Expand Up @@ -1054,7 +1054,7 @@ spec:
- -server.http-listen-port=8080
- -target=compactor
- -usage-stats.installation-mode=jsonnet
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: compactor
ports:
Expand Down Expand Up @@ -1167,7 +1167,7 @@ spec:
value: "9"
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "1000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: ingester
ports:
Expand Down Expand Up @@ -1504,7 +1504,7 @@ spec:
value: "12884901888"
- name: JAEGER_REPORTER_MAX_QUEUE_SIZE
value: "1000"
image: grafana/mimir:2.14.1
image: grafana/mimir:2.15.0
imagePullPolicy: IfNotPresent
name: store-gateway
ports:
Expand Down
Loading

0 comments on commit 7f979c0

Please sign in to comment.