Skip to content

Commit 467a27e

Browse files
committed
merge
2 parents 71cb55f + 9eb14bc commit 467a27e

File tree

2,112 files changed

+164054
-363017
lines changed

Some content is hidden

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

2,112 files changed

+164054
-363017
lines changed

.github/workflows/test-build-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ jobs:
576576
sudo mkdir -p /go/src/github.com/grafana/mimir
577577
sudo ln -s $GITHUB_WORKSPACE/* /go/src/github.com/grafana/mimir
578578
- name: Download mimirtool Docker Image
579-
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8
579+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
580580
with:
581581
name: docker-image-mimirtool
582582
- name: Extract Docker Image from Archive
@@ -589,7 +589,7 @@ jobs:
589589
# that's why we use docker run to run latest version.
590590
docker run -v /tmp/images:/tmp/images -v /var/run/docker.sock:/var/run/docker.sock quay.io/skopeo/stable:v1.15.1 copy oci-archive:/tmp/images/mimirtool.oci "docker-daemon:grafana/mimirtool:$IMAGE_TAG"
591591
- name: Download Archive with Docker Images
592-
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8
592+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
593593
with:
594594
name: test-docker-image-race-enabled-mimir
595595
- name: Load race-enabled mimir into Docker
@@ -645,7 +645,7 @@ jobs:
645645
mkdir -p /go/src/github.com/grafana/mimir
646646
ln -s $GITHUB_WORKSPACE/* /go/src/github.com/grafana/mimir
647647
- name: Download Archive with Docker Images
648-
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8
648+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
649649
with:
650650
pattern: docker-image-*
651651
path: built-images

.github/workflows/update-vendored-mimir-prometheus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6
7373
with:
7474
# We only use this to run `go mod` commands, so it doesn't need to follow the version used in the Dockerfile.
75-
go-version: "1.25.8"
75+
go-version: "1.25.9"
7676

7777
# This job uses "mimir-vendoring bot" instead of "github-actions bot" (secrets.GITHUB_TOKEN)
7878
# because any events triggered by the later don't spawn GitHub actions.

CHANGELOG.md

Lines changed: 37 additions & 6 deletions
Large diffs are not rendered by default.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ mimir-build-image/$(UPTODATE): mimir-build-image/*
224224
# All the boiler plate for building golang follows:
225225
SUDO := $(shell docker info >/dev/null 2>&1 || echo "sudo -E")
226226
BUILD_IN_CONTAINER ?= true
227-
LATEST_BUILD_IMAGE_TAG ?= pr14923-87daa5a9dd
227+
LATEST_BUILD_IMAGE_TAG ?= pr14706-0f4c20cb8b
228228

229229
# TTY is parameterized to allow CI and scripts to run builds,
230230
# as it currently disallows TTY devices.

cmd/mimir/config-descriptor.json

Lines changed: 51 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,17 @@
9696
"fieldType": "boolean",
9797
"fieldCategory": "advanced"
9898
},
99+
{
100+
"kind": "field",
101+
"name": "otlp_translation_headers_enabled",
102+
"required": false,
103+
"desc": "Allows controlling OTLP metric name suffix addition and translation strategy via X-Mimir-OTLP-AddSuffixes and X-Mimir-OTLP-TranslationStrategy headers on the OTLP push path. Not recommended for general use.",
104+
"fieldValue": null,
105+
"fieldDefaultValue": false,
106+
"fieldFlag": "api.otlp-translation-headers-enabled",
107+
"fieldType": "boolean",
108+
"fieldCategory": "experimental"
109+
},
99110
{
100111
"kind": "field",
101112
"name": "alertmanager_http_prefix",
@@ -2647,6 +2658,17 @@
26472658
"fieldType": "boolean",
26482659
"fieldCategory": "experimental"
26492660
},
2661+
{
2662+
"kind": "field",
2663+
"name": "enable_remove_statically_empty_expressions",
2664+
"required": false,
2665+
"desc": "Enable removing expressions that are guaranteed to produce no results.",
2666+
"fieldValue": null,
2667+
"fieldDefaultValue": true,
2668+
"fieldFlag": "querier.mimir-query-engine.enable-remove-statically-empty-expressions",
2669+
"fieldType": "boolean",
2670+
"fieldCategory": "experimental"
2671+
},
26502672
{
26512673
"kind": "block",
26522674
"name": "range_vector_splitting",
@@ -5668,7 +5690,7 @@
56685690
"kind": "field",
56695691
"name": "early_head_compaction_owned_series_threshold",
56705692
"required": false,
5671-
"desc": "When the number of owned series for a tenant exceeds this threshold, trigger early head compaction. 0 to disable.",
5693+
"desc": "When the number of owned series for a tenant across the cluster exceeds this threshold, trigger early head compaction. 0 to disable.",
56725694
"fieldValue": null,
56735695
"fieldDefaultValue": 0,
56745696
"fieldFlag": "ingester.early-head-compaction-owned-series-threshold",
@@ -7034,36 +7056,6 @@
70347056
"fieldFlag": "alertmanager.max-alerts-size-bytes",
70357057
"fieldType": "int"
70367058
},
7037-
{
7038-
"kind": "field",
7039-
"name": "alertmanager_notify_hook_url",
7040-
"required": false,
7041-
"desc": "URL of a hook to invoke before a notification is sent. empty = no hook.",
7042-
"fieldValue": null,
7043-
"fieldDefaultValue": "",
7044-
"fieldFlag": "alertmanager.notify-hook-url",
7045-
"fieldType": "string"
7046-
},
7047-
{
7048-
"kind": "field",
7049-
"name": "alertmanager_notify_hook_receivers",
7050-
"required": false,
7051-
"desc": "List of receivers to enable notify hooks for. empty = all receivers.",
7052-
"fieldValue": null,
7053-
"fieldDefaultValue": "",
7054-
"fieldFlag": "alertmanager.notify-hook-receivers",
7055-
"fieldType": "string"
7056-
},
7057-
{
7058-
"kind": "field",
7059-
"name": "alertmanager_notify_hook_timeout",
7060-
"required": false,
7061-
"desc": "Maximum amount of time to wait for a hook to complete before timing out. 0 = no timeout.",
7062-
"fieldValue": null,
7063-
"fieldDefaultValue": 30000000000,
7064-
"fieldFlag": "alertmanager.notify-hook-timeout",
7065-
"fieldType": "duration"
7066-
},
70677059
{
70687060
"kind": "field",
70697061
"name": "otel_metric_suffixes_enabled",
@@ -9244,7 +9236,7 @@
92449236
"required": false,
92459237
"desc": "The maximum number of concurrent fetch requests that the ingester makes when reading data from Kafka during startup. Concurrent fetch requests are issued only when there is sufficient backlog of records to consume. Set to 0 to disable.",
92469238
"fieldValue": null,
9247-
"fieldDefaultValue": 0,
9239+
"fieldDefaultValue": 12,
92489240
"fieldFlag": "ingest-storage.kafka.fetch-concurrency-max",
92499241
"fieldType": "int"
92509242
},
@@ -9264,7 +9256,7 @@
92649256
"required": false,
92659257
"desc": "The maximum number of buffered records ready to be processed. This limit applies to the sum of all inflight requests. Set to 0 to disable the limit.",
92669258
"fieldValue": null,
9267-
"fieldDefaultValue": 100000000,
9259+
"fieldDefaultValue": 1000000000,
92689260
"fieldFlag": "ingest-storage.kafka.max-buffered-bytes",
92699261
"fieldType": "int"
92709262
},
@@ -9274,7 +9266,7 @@
92749266
"required": false,
92759267
"desc": "The maximum number of concurrent ingestion streams to the TSDB head. Every tenant has their own set of streams. 0 to disable.",
92769268
"fieldValue": null,
9277-
"fieldDefaultValue": 0,
9269+
"fieldDefaultValue": 8,
92789270
"fieldFlag": "ingest-storage.kafka.ingestion-concurrency-max",
92799271
"fieldType": "int"
92809272
},
@@ -9294,7 +9286,7 @@
92949286
"required": false,
92959287
"desc": "The number of batches to prepare and queue to ingest to the TSDB head. Only use this setting when -ingest-storage.kafka.ingestion-concurrency-max is greater than 0.",
92969288
"fieldValue": null,
9297-
"fieldDefaultValue": 5,
9289+
"fieldDefaultValue": 3,
92989290
"fieldFlag": "ingest-storage.kafka.ingestion-concurrency-queue-capacity",
92999291
"fieldType": "int"
93009292
},
@@ -9304,7 +9296,7 @@
93049296
"required": false,
93059297
"desc": "The expected number of times to ingest timeseries to the TSDB head after batching. With fewer flushes, the overhead of splitting up the work is higher than the benefit of parallelization. Only use this setting when -ingest-storage.kafka.ingestion-concurrency-max is greater than 0.",
93069298
"fieldValue": null,
9307-
"fieldDefaultValue": 80,
9299+
"fieldDefaultValue": 40,
93089300
"fieldFlag": "ingest-storage.kafka.ingestion-concurrency-target-flushes-per-shard",
93099301
"fieldType": "int"
93109302
},
@@ -17572,17 +17564,6 @@
1757217564
"fieldFlag": "alertmanager.utf8-migration-logging-enabled",
1757317565
"fieldType": "boolean",
1757417566
"fieldCategory": "experimental"
17575-
},
17576-
{
17577-
"kind": "field",
17578-
"name": "enable_notify_hooks",
17579-
"required": false,
17580-
"desc": "Enable pre-notification hooks.",
17581-
"fieldValue": null,
17582-
"fieldDefaultValue": false,
17583-
"fieldFlag": "alertmanager.notify-hooks-enabled",
17584-
"fieldType": "boolean",
17585-
"fieldCategory": "experimental"
1758617567
}
1758717568
],
1758817569
"fieldValue": null,
@@ -18702,11 +18683,22 @@
1870218683
"kind": "field",
1870318684
"name": "file",
1870418685
"required": false,
18705-
"desc": "Comma separated list of yaml files with the configuration that can be updated at runtime. Runtime config files will be merged from left to right.",
18686+
"desc": "Comma separated list of yaml files or URLs with the configuration that can be updated at runtime. Runtime config files will be merged from left to right.",
1870618687
"fieldValue": null,
1870718688
"fieldDefaultValue": "",
1870818689
"fieldFlag": "runtime-config.file",
1870918690
"fieldType": "string"
18691+
},
18692+
{
18693+
"kind": "field",
18694+
"name": "http_client_timeout",
18695+
"required": false,
18696+
"desc": "HTTP client timeout when fetching runtime config from URLs.",
18697+
"fieldValue": null,
18698+
"fieldDefaultValue": 30000000000,
18699+
"fieldFlag": "runtime-config.http-client-timeout",
18700+
"fieldType": "duration",
18701+
"fieldCategory": "advanced"
1871018702
}
1871118703
],
1871218704
"fieldValue": null,
@@ -18839,6 +18831,17 @@
1883918831
"fieldType": "duration",
1884018832
"fieldCategory": "advanced"
1884118833
},
18834+
{
18835+
"kind": "field",
18836+
"name": "received_messages_queue_size",
18837+
"required": false,
18838+
"desc": "Size of the internal queue for messages received from other nodes. Increasing this value may help to avoid dropping messages when the node is processing a large number of messages from other nodes.",
18839+
"fieldValue": null,
18840+
"fieldDefaultValue": 1024,
18841+
"fieldFlag": "memberlist.received-messages-queue-size",
18842+
"fieldType": "int",
18843+
"fieldCategory": "advanced"
18844+
},
1884218845
{
1884318846
"kind": "field",
1884418847
"name": "advertise_addr",

0 commit comments

Comments
 (0)