Update dependency mimirtool to v2.13.0 #46
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.11.0
->2.13.0
Release Notes
grafana/mimir (mimirtool)
v2.13.0
Compare Source
Grafana Mimir
grafana/mimir
docker image is now based ongcr.io/distroless/static-debian12
image. Alpine-based docker image is still available asgrafana/mimir-alpine
, until Mimir 2.15. #8204 #8235/ingester/flush
endpoint is now only allowed to execute only while the ingester is inRunning
state. The 503 status code is returned if the endpoint is called while the ingester is not inRunning
state. #7486err-mimir-label-value-too-long
error message: #7740cortex_discarded_samples_total
metric. The feature can be configured via-ingester.error-sample-rate
(0 to log all errors). #7807-validation.create-grace-period
to clamp how far into the future a query can span. #8075GOMAXPROCS
toruntime.NumCPU
. #8201cortex_compactor_disk_out_of_space_errors_total
which counts how many times a compaction failed due to the compactor being out of disk. #8237evaluation_delay
field in the rule group configuration has been deprecated. Please usequery_offset
instead (it has the same exact meaning and behaviour). #8295-log.buffered
. The configuration option has been enabled by default and deprecated since Mimir 2.11. #8395-ruler.recording-rules-evaluation-enabled
and-ruler.alerting-rules-evaluation-enabled
from experimental to stable. #8400-tenant-federation.max-tenants
from experimental to stable. #8400mimir -target=continuous-test
. #7747-store-gateway.enabled-tenants
or-store-gateway.disabled-tenants
CLI flags or their corresponding YAML settings. #7653-<prefix>.s3.bucket-lookup-type
flag configures lookup style type, used to access bucket in s3 compatible providers. #7684-querier.promql-engine=mimir
. #7693 #7898 #7899 #8023 #8058 #8096 #8121 #8197 #8230 #8247 #8270 #8276 #8277 #8291 #8303 #8340 #8256 #8348/ingester/unregister-on-shutdown
HTTP endpoint allows dynamic access to ingesters'-ingester.ring.unregister-on-shutdown
configuration. #7739-server.proxy-protocol-enabled=true
. When enabled, the support is added both to HTTP and gRPC listening ports. #7698/cardinality/active_native_histogram_metrics
API to get active native histogram metric names with statistics about active native histogram buckets. #7982 #7986 #8008-alertmanager.max-silences-count
and-alertmanager.max-silence-size-bytes
to set limits on per tenant silences. Disabled by default. #8241 #8249-ingester.push-circuit-breaker.enabled
and-ingester.read-circuit-breaker.enabled
options. Further-ingester.push-circuit-breaker.*
and-ingester.read-circuit-breaker.*
options for configuring circuit-breaker are available. Added metricscortex_ingester_circuit_breaker_results_total
,cortex_ingester_circuit_breaker_transitions_total
,cortex_ingester_circuit_breaker_current_state
andcortex_ingester_circuit_breaker_request_timeouts_total
. #8180 #8285 #8315 #8446-validation.past-grace-period
to limit how old (based on the wall clock minus OOO window) the ingested samples can be. The default 0 value disables this limit. #8262cortex_distributor_samples_per_request
andcortex_distributor_exemplars_per_request
to track samples/exemplars per request. #8265-distributor.max-exemplars-per-series-per-request
, the number of discarded exemplars are tracked withcortex_discarded_exemplars_total{reason="too_many_exemplars_per_series_per_request"}
#7989 #8010stage="wait_max_concurrent"
tocortex_bucket_store_series_request_stage_duration_seconds
which records how long the query had to wait for its turn for-blocks-storage.bucket-store.max-concurrent
. #7609cortex_querier_federation_upstream_query_wait_duration_seconds
to observe time from when a querier picks up a cross-tenant query to when work begins on its single-tenant counterparts. #7209cortex_compactor_block_compaction_delay_seconds
metric to track how long it takes to compact blocks since the blocks are created. #7635outcome
label tocortex_bucket_stores_gate_duration_seconds
histogram metric. Possible values for theoutcome
label are:rejected_canceled
,rejected_deadline_exceeded
,rejected_other
, andpermitted
. #7784-query-frontend.use-active-series-decoder
. #7665limit
parameter on/prometheus/api/v1/label/{name}/values
and/prometheus/api/v1/labels
endpoints. #7722cortex_prometheus_rule_group_last_restore_duration_seconds
which measures how long it takes to restore rule groups using theALERTS_FOR_STATE
series #7974-blocks-storage.bucket-store.max-concurrent-queue-timeout
. When set, queries at the store-gateway's query gate will not wait longer than that to execute. If a query reaches the wait timeout, then the querier will retry the blocks on a different store-gateway. If all store-gateways are unavailable, then the query will fail witherr-mimir-store-consistency-check-failed
. #7777 #8149-blocks-storage.bucket-store.index-header.lazy-loading-concurrency-queue-timeout
. When set, loads of index-headers at the store-gateway's index-header lazy load gate will not wait longer than that to execute. If a load reaches the wait timeout, then the querier will retry the blocks on a different store-gateway. If all store-gateways are unavailable, then the query will fail witherr-mimir-store-consistency-check-failed
. #8138-distributor.max-request-pool-buffer-size
to allow configuring the maximum size of the request pool buffers. #8082-querier.prefer-streaming-chunks-from-store-gateways=true
) and the query selects fewer than-blocks-storage.bucket-store.batch-series-size
series (defaults to 5000 series). #8039-ingester.track-ingester-owned-series
or-ingester.use-ingester-owned-series-for-limits
are enabled. #8084-distributor.direct-otlp-translation-enabled=false
#7957insight=true
to remote-write and OTLP write handlers when the HTTP response status code is 4xx. #8294"other"
time in LabelValues and LabelNames requests. #7622-query-frontend.downstream-url
flag. #7651label_join
with an invalid destination label name. #7744compaction-planner
tool when block labels differ. #7745cortex_discarded_samples_total
will be increased with thereason
label set to"invalid-native-histogram"
. #7736 #7773sampled 1/<frequency>
if it's not actually sampled. #7784null
instead of[]
. #8029thanos_objstore_bucket_operation_failures_total
metric for cancelled requests. #8072@ start()
and@end()
modifiers on a subquery. Previously thestart()
andend()
would be evaluated using the start end end of the split query instead of the original query. #8162-blocks-storage.tsdb.head-postings-for-matchers-cache*
or-blocks-storage.tsdb.block-postings-for-matchers-cache*
are in use. #8337github.com/hashicorp/go-retryablehttp
to address CVE-2024-6104. #8539Mixin
MimirQueriesIncorrect
alert that used test-exporter metrics. Test-exporter support was however removed in Mimir 2.0 release. #7774MimirBucketIndexNotUpdated
alert to fire before queries begin to fail due to bucket index age. #7879MimirIngesterStuckProcessingRecordsFromKafka
alert. #8147_config.base_alerts_range_interval_minutes
. #7591show_ingest_storage_panels: true
config option. Similarly existing panels used when distributors and ingesters use gRPC for forwarding requests can be disabled by settingshow_grpc_ingestion_panels: false
. #7670 #7699MimirIngesterLastConsumedOffsetCommitFailed
MimirIngesterFailedToReadRecordsFromKafka
MimirIngesterKafkaFetchErrorsRateTooHigh
MimirStartingIngesterKafkaReceiveDelayIncreasing
MimirRunningIngesterReceiveDelayTooHigh
MimirIngesterFailsToProcessRecordsFromKafka
MimirIngesterFailsEnforceStrongConsistencyOnReadPath
cortex_request_duration_seconds
metric.529
and598
status codes from failure codes inMimirRequestsError
. #7889component
variable to "Slow queries" dashboard to allow checking the slow queries of the remote ruler evaluation query path. #8309Jsonnet
750ms
from450ms
. #7778terminationGracePeriodSeconds
for the following components: #736430
to180
30
to180
mimir-continuous-test
deployment to match with updated defaults of its container image (see changes below). #7958$._config.cortex_compactor_concurrent_rollout_enabled
option (disabled by default) that makes use of rollout-operator to speed up the rollout of compactors. #7783 #7878$._config.shuffle_sharding.ingest_storage_partitions_enabled
and$._config.shuffle_sharding.ingester_partitions_shard_size
options, that allow configuring partitions shard size in ingest-storage mode. #7804v0.17.0
. #8399_config.autoscaling_querier_predictive_scaling_enabled
to scale querier based on inflight queries 7 days ago. #7775kube_pod_status_ready
to be available in the data source used by KEDA to query scaling metrics (configured via_config.autoscaling_prometheus_url
). #8251Mimirtool
--rule-files
flag in favor of CLI arguments. #7756runtime-config verify
sub-command, for verifying Mimir runtime config files. #8123mimirtool promql format
: Format PromQL query with Prometheus' string or pretty-print formatter. #7742mimir-http-prefix
configuration to set the Mimir URL prefix when using legacy routes. #8069--output-dir
tomimirtool rules get
andmimirtool rules print
to allow persisting rule groups to a file for edit and re-upload. #8142loadgen
subcommand. #7629mimirtool rules prepare
: do not add aggregation label toon()
clause if already present ingroup_left()
orgroup_right()
. #7839mimirtool rules sync
: detect a change when thequery_offset
or the deprecatedevaluation_delay
configuration changes. #8297Mimir Continuous Test
mimir-continuous-test
has been deprecated and replaced by a Mimir module that can be run as a target from themimir
binary usingmimir -target=continuous-test
. #7753-server.metrics-port
flag is no longer available for use in the module run of mimir-continuous-test, including the grafana/mimir-continuous-test Docker image which uses the new module. Configuring this port is still possible in the binary, which is deprecated. #7747User-Agent
header for all requests sent from the testing client. #7607Query-tee
proxy.log-slow-query-response-threshold
when compared to other backends. #7346cortex_querytee_backend_response_relative_duration_seconds
cortex_querytee_backend_response_relative_duration_proportional
Documentation
Tools
v2.12.0
Compare Source
Grafana Mimir
v1
API. Allv1
API endpoints now respond with a JSON deprecation notice and a status code of410
. All endpoints have av2
equivalent. The list of endpoints is: #7103<alertmanager-web.external-url>/api/v1/alerts
<alertmanager-web.external-url>/api/v1/receivers
<alertmanager-web.external-url>/api/v1/silence/{id}
<alertmanager-web.external-url>/api/v1/silences
<alertmanager-web.external-url>/api/v1/status
-blocks-storage.tsdb.head-postings-for-matchers-cache-max-bytes
and-blocks-storage.tsdb.block-postings-for-matchers-cache-max-bytes
to 100 MiB (previous default value was 10 MiB). #6764|
characters. #69594xx
errors. #7004status_code
label of request duration metric. #7045-memberlist.stream-timeout
from10s
to2s
. #7076thanos_cache_memcached_*
andthanos_memcached_*
prefixed metrics. Instead, Memcached and Redis cache clients now emitthanos_cache_*
prefixed metrics with abackend
label. #7076prometheus_sd_failed_configs
renamed tocortex_prometheus_sd_failed_configs
prometheus_sd_discovered_targets
renamed tocortex_prometheus_sd_discovered_targets
prometheus_sd_received_updates_total
renamed tocortex_prometheus_sd_received_updates_total
prometheus_sd_updates_delayed_total
renamed tocortex_prometheus_sd_updates_delayed_total
prometheus_sd_updates_total
renamed tocortex_prometheus_sd_updates_total
prometheus_sd_refresh_failures_total
renamed tocortex_prometheus_sd_refresh_failures_total
prometheus_sd_refresh_duration_seconds
renamed tocortex_prometheus_sd_refresh_duration_seconds
-query-frontend.not-running-timeout
has been changed from 0 (disabled) to 2s. The configuration option has also been moved from "experimental" to "advanced". #7127blocks-storage.bucket-store.tenant-sync-concurrency
has been changed from10
to1
and the default value forblocks-storage.bucket-store.block-sync-concurrency
has been changed from20
to4
. #7136-blocks-storage.bucket-store.index-header-lazy-loading-enabled
and-blocks-storage.bucket-store.index-header-lazy-loading-idle-timeout
and their corresponding YAML settings. Instead, use-blocks-storage.bucket-store.index-header.lazy-loading-enabled
and-blocks-storage.bucket-store.index-header.lazy-loading-idle-timeout
. #7521-blocks-storage.bucket-store.index-header.lazy-loading-concurrency
and its corresponding YAML settings as advanced. #7521-blocks-storage.bucket-store.index-header.sparse-persistence-enabled
since this is now the default behavior. #7535-server.report-grpc-codes-in-instrumentation-label-enabled
totrue
by default, which enables reporting gRPC status codes asstatus_code
labels in thecortex_request_duration_seconds
metric. #7144status_code
labels in thecortex_ingester_client_request_duration_seconds
metric by default. #7144-ingester.client.report-grpc-codes-in-instrumentation-label-enabled
has been deprecated, and its default value is set totrue
. #7144-ingester.return-only-grpc-errors
has been deprecated, and its default value is set totrue
. To ensure backwards compatibility, during a migration from a version prior to 2.11.0 to 2.12 or later,-ingester.return-only-grpc-errors
should be set tofalse
. Once all the components are migrated, the flag can be removed. #7151-ingester.ring.token-generation-strategy
-ingester.ring.spread-minimizing-zones
-ingester.ring.spread-minimizing-join-ring-in-order
-query-frontend.max-cache-freshness
(and its respective YAML configuration parameter) has been changed from1m
to10m
. #7161-distributor.write-requests-buffer-pooling-enabled
totrue
. #7165-ingester.client.circuit-breaker.cooldown-period
has been changed from1m
to10s
. #7310cortex_bucket_store_blocks_loaded_by_duration
.cortex_bucket_store_series_blocks_queried
is better suited for detecting when compactors are not able to keep up with the number of blocks to compact. #7309-ingester.limit-inflight-requests-using-grpc-method-limiter
and-distributor.limit-inflight-requests-using-grpc-method-limiter
, is now stable and enabled by default. The configuration options have been deprecated and will be removed in Mimir 2.14. #7360-distributor.enable-otlp-metadata-storage
flag's default to true, and deprecate it. The flag will be removed in Mimir 2.14. #7366-querier.max-query-into-future
has been deprecated and will be removed in Mimir 2.14. #7496cortex_distributor_sample_delay_seconds
has been deprecated and will be removed in Mimir 2.14. #7516frontend.cache_unaligned_requests
has been moved tolimits.cache_unaligned_requests
. #7519-querier.minimize-ingester-requests
has been moved from "experimental" to "advanced". #7638/ingester/shutdown
, as previously it was too easy to accidentally trigger through GET requests. At the same time, add an option to keep the existing behavior by introducing an-api.get-request-for-ingester-shutdown-enabled
flag. This flag will be removed in Mimir 2.15. #7707-server.log-source-ips-full
option to log all IPs fromForwarded
,X-Real-IP
,X-Forwarded-For
headers. #7250-tenant-federation.max-tenants
option to limit the max number of tenants allowed for requests when federation is enabled. #6959count_method
parameter which enables counting active label names. #7085-querier.promql-experimental-functions-enabled
CLI flag (and respective YAML config option) to enable experimental PromQL functions. The experimental functions introduced are:mad_over_time()
,sort_by_label()
andsort_by_label_desc()
. #7057-alertmanager.grafana-alertmanager-compatibility-enabled
CLI flag (and respective YAML config option) to enable an experimental API endpoints that support the migration of the Grafana Alertmanager. #7057-alertmanager.utf8-strict-mode-enabled
to control support for any UTF-8 character as part of Alertmanager configuration/API matchers and labels. It's default value is set tofalse
. #6898histogram_avg()
function support to PromQL. #7293-blocks-storage.tsdb.timely-head-compaction
flag, which enables more timely head compaction, and defaults tofalse
. #7372/compactor/tenants
and/compactor/tenant/{tenant}/planned_jobs
endpoints that provide functionality that was provided bytools/compaction-planner
-- listing of planned compaction jobs based on tenants' bucket index. #7381-querier.response-streaming-enabled
. This is currently only supported for the/api/v1/cardinality/active_series
endpoint. #7173{"metric_name", "l1"="val"}
to promql and some of the exposition formats. #7475 #7541cortex_distributor_otlp_requests_total
to track the total number of OTLP requests. #7385cortex_vault_token_lease_renewal_active
) to check whether token renewal is active, and the counterscortex_vault_token_lease_renewal_success_total
andcortex_vault_auth_success_total
to see the total number of successful lease renewals / authentications. #7337cortex_ruler_queries_zero_fetched_series_total
. #6544/config/api/v1/rules/{namespace}/{groupName}
configuration API endpoint. #6632query-frontend.additional-query-queue-dimensions-enabled
andquery-scheduler.additional-query-queue-dimensions-enabled
. #6772-distributor.metric-relabeling-enabled
or associated YAML. #6970-distributor.remote-timeout
is now accounted from the first ingester push request being sent. #6972-<prefix>.s3.sts-endpoint
sets a custom endpoint for AWS Security Token Service (AWS STS) in s3 storage provider. #6172cortex_querier_queries_storage_type_total
metric that indicates how many queries have executed for a source, ingesters or store-gateways. Addcortex_querier_query_storegateway_chunks_total
metric to count the number of chunks fetched from a store gateway. #7099,#7145-query-frontend.shard-active-series-queries
. #6784-distributor.reusable-ingester-push-workers=2000
by default and mark feature asadvanced
. #7128-server.grpc.num-workers=100
by default and mark feature asadvanced
. #7131source
,level
, andout_or_order
tocortex_bucket_store_series_blocks_queried
metric that indicates the number of blocks that were queried from store gateways by block metadata. #7112 #7262 #7267cortex_bucket_index_estimated_compaction_jobs
metric. If computation of jobs fails,cortex_bucket_index_estimated_compaction_jobs_errors_total
is updated instead. #7299cortex_alertmanager_notifications_suppressed_total
that counts the total number of notifications suppressed for being silenced, inhibited, outside of active time intervals or within muted time intervals. #7384cortex_query_scheduler_queue_duration_seconds
histogram metric, in order to better track queries staying in the queue for longer than 10s. #7470type
label is added toprometheus_tsdb_head_out_of_order_samples_appended_total
metric. #7475-ingester.use-ingester-owned-series-for-limits
) now prevents discards in cases where a tenant is sharded across all ingesters (or shuffle sharding is disabled) and the ingester count increases. #7411-query-frontend.active-series-write-timeout
to allow configuring the server-side write timeout for active series requests. #7553 #7569-querier.max-fetched-series-per-query
is not applied to/series
endpoint if the series are loaded from ingesters. #7055-distributor.metric-relabeling-enabled
may cause distributors to panic #7176-distributor.metric-relabeling-enabled
may cause distributors to write unsorted labels and corrupt blocks #7326cortex_query_frontend_queries_total
report incorrectly reportedop="query"
for any request which wasn't a range query. Now theop
label value can be one of the following: #7207query
: instant queryquery_range
: range querycardinality
: cardinality querylabel_names_and_values
: label names / values queryactive_series
: active series queryother
: any other requestgoogle.golang.org/grpc
to resolve occasional issues with gRPC server closing its side of connection before it was drained by the client. #7380active_series
requests when the request context is canceled. #7378cortex_ruler_write_requests_failed_total
metric. #7472Configuration
📅 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.
This PR was generated by Mend Renovate. View the repository job log.