Skip to content

ruler: don't retry on non-retriable error #7216

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

Merged
merged 2 commits into from
Feb 8, 2024

Conversation

narqo
Copy link
Contributor

@narqo narqo commented Jan 25, 2024

What this PR does

These changes improve the internals of the retries in ruler.RemoteQuerier. That is, the calls inside Query shouldn't retry, if it stumbles upon a well-known non-retriable errors.

Which issue(s) this PR fixes or relates to

Fixes #6609

Checklist

  • Tests updated.
  • Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • about-versioning.md updated with experimental features.

@narqo narqo requested a review from lamida January 25, 2024 11:24
@narqo narqo requested review from a team as code owners January 25, 2024 11:24
@narqo narqo changed the title ruler: don't retry on non-retryable errors ruler: don't retry on non-retriable error Jan 25, 2024
@@ -717,63 +715,6 @@ func TestRemoteQuerier_QueryReqTimeout(t *testing.T) {
require.Error(t, err)
}

func TestRemoteQuerier_BackoffRetry(t *testing.T) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note, these tests duplicate what is already covered in TestRemoteQuerier_QueryRetryOnFailure. I don't think, testing the actual number of retries worth this number of code. The backoff is an internal implementation detail (_that's IMHO, and I don't feel strong about it).

Comment on lines +729 to +735
error4xx = httpgrpc.Errorf(http.StatusUnprocessableEntity, "this is a 4xx error")
error5xx = httpgrpc.Errorf(http.StatusInternalServerError, "this is a 5xx error")
Copy link
Contributor Author

@narqo narqo Jan 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: these are outside the scope of changes. It was just confusing, while I was reading through the code, that we use non-gRPC codes in gRPC statuses, while their docs explicitly ask not doing that (I'm now aware that httpgrpc has different semantics for the codes, while keeping the same implementation) ;)

Copy link
Contributor

@dimitarvdimitrov dimitarvdimitrov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are there other errors with ResourceExhausted code which we might want to retry?

I'm thinking about cases where the ingesters are overwhelmed and return a ResourceExhausted. In this case I think it makes sense to retry in the ruler. Giving up means data loss (failure to evaluate a query and not writing the result). Retrying has some chance of succeeding eventually

Also is there a way to only not retry the errors when the response is too large?

@narqo narqo force-pushed the ruler-handle-dont-retry branch from 9939a77 to b219963 Compare January 28, 2024 22:10
@narqo
Copy link
Contributor Author

narqo commented Jan 28, 2024

Are there other errors with ResourceExhausted code which we might want to retry?
···
Also is there a way to only not retry the errors when the response is too large?

I looked around and can't say for sure. There are modules where, historically, the ResourceExhausted is used as a signal, that the request was rate-limited. We expect the client to retry their request with a backoff in such a case.

After looking around other projects, e.g. OTel or Google API clients, I feel there is not one universal rule on which statuses are retriable :/ I decided to update the PR to skip retrying only on exceeding the max-msg-size. The only way to do that is not too pretty, but it might be ok, as an optimisation for a failure path.


// Bail out if the error is known to be not retriable.
switch code := grpcutil.ErrorToStatusCode(err); code {
case codes.ResourceExhausted:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed via Slack, the initial idea was to make all errors with codes.ResourceExhausted status code fail. Some of these errors come from gRPC itself (e.g., https://github.com/grpc/grpc-go/blob/84b85babc00b4b8460e53b6ee110bfb49e9311cf/rpc_util.go#L610-L615). On the other hand, there are some errors with status code codes.ResourceExhausted returned by distributors and ingesters that should be retried. These cases are:

  1. ingester too busy: the returned error has codes.ResourceExhausted status code, but also contains a mimirpb.ErrorDetail with cause mimirpb.TOO_BUSY and should always be retried
  2. ingestion rate limit hit: the returned error has codes.ResourceExhausted status code, but also contains a mimirpb.ErrorDetail with cause mimirpb.INGESTION_RATE_LIMITED and should be retried if distributor's -distributor.service-overload-status-code-on-rate-limit-enabled is set to true
  3. request rate limit hit: the returned error has codes.ResourceExhausted status code, but also contains a mimirpb.ErrorDetail with cause mimirpb.REQUEST_RATE_LIMITED and should be retried if distributor's -distributor.service-overload-status-code-on-rate-limit-enabled is set to true

So I recommend to check whether the error contains a detail of type mimirpb.ErrorDetails with one of the causes mentioned above and to retry when needed.

An example:

stat, ok := grpcutil.ErrorToStatus(err)
if ok {
	switch code := stat.Code() {
		case codes.ResourceExhausted:
			details := stat.Details()
			if len(details) != 1 {
				return nil, err
			}
			errDetails, ok := details[0].(*mimirpb.ErrorDetails)
			if !ok {
				return nil, err
			}
			if errDetails.GetCause() == mimirpb.INGESTION_RATE_LIMITED 
				|| errDetails.GetCause() == mimirpb.REQUEST_RATE_LIMITED
				|| errDetails.GetCause() == mimirpb.TOO_BUSY {
				continue
			}
			return nil, err
		default:
			// In case the error was a wrapped HTTPResponse, its code represents HTTP status;
			// 4xx errors shouldn't be retried because it is expected that
			// running the same query gives rise to the same 4xx error.
			if code/100 == 4 {
				return nil, err
			}
		}
}

IMPORTANT: this code is just an example, and it doesn't take into account the -distributor.service-overload-status-code-on-rate-limit-enabled flag.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After another chat with @narqo I actually realized that mimirpb.INGESTION_RATE_LIMITED and mimirpb.REQUEST_RATE_LIMITED could be thrown on the write path only, while the present PR concerns the read path. Therefore, the -distributor.service-overload-status-code-on-rate-limit-enabled CLI flag is not important, and the implementation can be simplified.

stat, ok := grpcutil.ErrorToStatus(err)
if ok {
	switch code := stat.Code() {
		case codes.ResourceExhausted:
			details := stat.Details()
			if len(details) != 1 {
				return nil, err
			}
			errDetails, ok := details[0].(*mimirpb.ErrorDetails)
			if !ok {
				return nil, err
			}
			if errDetails.GetCause() == mimirpb.TOO_BUSY {
				continue
			}
			return nil, err
		default:
			// In case the error was a wrapped HTTPResponse, its code represents HTTP status;
			// 4xx errors shouldn't be retried because it is expected that
			// running the same query gives rise to the same 4xx error.
			if code/100 == 4 {
				return nil, err
			}
		}
}

@dimitarvdimitrov
Copy link
Contributor

On a second thought I'm not sure I agree with this PR. The original issue was to not retry queries which are known to be rejected on the next retry (e.g. because the response is too big). With this PR rules will become less resilient to temporary overloads on the read path. Given that we don't support rules backfilling the missing evaluation means data loss or less reliable alerting. IMO increased load on the read path is more tolerable than data loss.

Can't we detect only the specific error which #6609 mentions and not retry only then?

@dimitarvdimitrov
Copy link
Contributor

Can't we detect only the specific error which #6609 mentions and not retry only then?

I was only looking at the comments Yuri left without actually looking at the code. Code seems to be doing exactly this.

Copy link
Contributor

@dimitarvdimitrov dimitarvdimitrov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a minor comment about the changelog, but otherwise LGTM. Thanks for working on this.

Co-authored-by: Dimitar Dimitrov <[email protected]>
@dimitarvdimitrov
Copy link
Contributor

spoke with @duricanikolic privately and we agreed that since the error string is emitted as a string from the gRPC code there's little we can do have more reliable parsing than substring matching. If we get more similar string matching in the future around gRPC maybe we can consider making a change upstream to surface those errors in some way.

@dimitarvdimitrov dimitarvdimitrov merged commit 7e7b220 into main Feb 8, 2024
@dimitarvdimitrov dimitarvdimitrov deleted the ruler-handle-dont-retry branch February 8, 2024 14:49
beatkind pushed a commit to beatkind/mimir that referenced this pull request Feb 13, 2024
* ruler: don't retry on non-retriable error

Fix 6609

Signed-off-by: Vladimir Varankin <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Dimitar Dimitrov <[email protected]>

---------

Signed-off-by: Vladimir Varankin <[email protected]>
Co-authored-by: Dimitar Dimitrov <[email protected]>
dimitarvdimitrov added a commit that referenced this pull request Feb 13, 2024
* feat(helm): Adding KEDA autoscaling support

* fix: update changelog

* feat(helm): Porting the changes from #6971 into helm chart

* feat: Adding better changelog & values documentation outlining the experimental state of the feature, using the same autoscaling rules & behaviours as jsonnet, only supporting newest version of KEDA

* fix: Remove duplicate query field, add base url in CHANGELOG.md

* helm: align grpc server connection lifetime settings with jsonnet (#7269)

* helm: align grpc server connection lifetime settings with jsonnet

Co-authored-by: Marco Pracucci <[email protected]>
Signed-off-by: Vladimir Varankin <[email protected]>

* helm: rebuild tests

Signed-off-by: Vladimir Varankin <[email protected]>

---------

Signed-off-by: Vladimir Varankin <[email protected]>
Co-authored-by: Marco Pracucci <[email protected]>

* querymiddleware: Fix race condition in shardActiveSeriesMiddleware (#7290)

* querymiddleware: race condition in shardActiveSeriesMiddleware

s2.Writer is not goroutine-safe to reuse between concurrent
requests.

Signed-off-by: Vladimir Varankin <[email protected]>

* querymiddleware: remove flaky ResponseBodyStreamed test from shardActiveSeriesMiddleware

---------

Signed-off-by: Vladimir Varankin <[email protected]>

* version: add UserAgent() (#7264)

Update pkg/util/version/info.go
Update pkg/mimirtool/client/client.go

Signed-off-by: Vladimir Varankin <[email protected]>
Co-authored-by: Andy Asp <[email protected]>

* helm: remove -server.grpc.keepalive.max-connection-idle from common config (#7298)

Signed-off-by: Vladimir Varankin <[email protected]>

* Compactor: export estimated number of compaction jobs based on bucket-index (#7299)

* Compute number of compaction jobs from bucket index and export it via cortex_bucket_index_compaction_jobs metric.

Signed-off-by: Peter Štibraný <[email protected]>

* Add PR number.

Signed-off-by: Peter Štibraný <[email protected]>

* Remove unused parameter name.

Signed-off-by: Peter Štibraný <[email protected]>

* Make linter happy.

Signed-off-by: Peter Štibraný <[email protected]>

* Address review feedback.

Signed-off-by: Peter Štibraný <[email protected]>

* Fix tests.

Signed-off-by: Peter Štibraný <[email protected]>

---------

Signed-off-by: Peter Štibraný <[email protected]>

* Add KubePersistentVolumeFillingUp runbook (#7297)

* Add KubePersistentVolumeFillingUp runbook

Co-authored-by: Arve Knudsen <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>

* Added CHANGELOG entry

Signed-off-by: Marco Pracucci <[email protected]>

* Fixed linter

Signed-off-by: Marco Pracucci <[email protected]>

---------

Signed-off-by: Marco Pracucci <[email protected]>
Co-authored-by: Arve Knudsen <[email protected]>

* Internal: remove unnecessary parameter to NoCompactionMarkFilter (#7301)

* Remove unnecessary parameter to NewNoCompactionMarkFilter.

Signed-off-by: Peter Štibraný <[email protected]>

* Remove unnecessary parameter to NewNoCompactionMarkFilter.

Signed-off-by: Peter Štibraný <[email protected]>

---------

Signed-off-by: Peter Štibraný <[email protected]>

* Name query metrics for easier discovery (#7302)

Changes the way query metrics are named to make them easier to search for.

Signed-off-by: Nick Pillitteri <[email protected]>

* fix(deps): update module github.com/aws/aws-sdk-go to v1.50.11 (#7288)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/klauspost/compress to v1.17.6 (#7291)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update anchore/sbom-action action to v0.15.8 (#7286)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update grafana/agent docker tag to v0.39.2 (#7287)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update grafana/grafana docker tag to v10.3.1 (#7292)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/failsafe-go/failsafe-go to v0.4.4 (#7289)

Signed-off-by: Arve Knudsen <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Chore: removed unused parameter from GenerateBlockFromSpec() (#7303)

* Chore: removed unused parameter from GenerateBlockFromSpec()

Signed-off-by: Marco Pracucci <[email protected]>

* Removed unused variables

Signed-off-by: Marco Pracucci <[email protected]>

---------

Signed-off-by: Marco Pracucci <[email protected]>

* Update mimir-prometheus (#7293)

* Update mimir-prometheus

Signed-off-by: Marco Pracucci <[email protected]>

* Do not shard histogram_avg()

Signed-off-by: Marco Pracucci <[email protected]>

* Re-vendored

Signed-off-by: Marco Pracucci <[email protected]>

* Fix TestBucketStore_Series_ShouldQueryBlockWithOutOfOrderChunks

Signed-off-by: Marco Pracucci <[email protected]>

* Fix TestGroupCompactE2E

Signed-off-by: Marco Pracucci <[email protected]>

* Fixed TestMultitenantCompactor_OutOfOrderCompaction

Signed-off-by: Marco Pracucci <[email protected]>

* Reworked TestBucketStore_Series_ShouldQueryBlockWithOutOfOrderChunks

Signed-off-by: Marco Pracucci <[email protected]>

* Simplify TestBucketStore_Series_ShouldQueryBlockWithOutOfOrderChunks

Signed-off-by: Marco Pracucci <[email protected]>

* Use filepath.Join() instead of hardcoding path separator

Signed-off-by: Marco Pracucci <[email protected]>

---------

Signed-off-by: Marco Pracucci <[email protected]>

* Release mimir-distributed Helm chart 5.3.0-weekly.276 (#7294)

* Update mimir-distributed chart to 5.2.0-weekly.276

* Update version to 5.3.0

Signed-off-by: Dimitar Dimitrov <[email protected]>

---------

Signed-off-by: Dimitar Dimitrov <[email protected]>
Co-authored-by: grafanabot <[email protected]>
Co-authored-by: Dimitar Dimitrov <[email protected]>

* Open circuit breakers on timeouts and per-instance limit errors only (#7310)

* Open circuit breakers on timeouts and per-instance limit errors only

Signed-off-by: Yuri Nikolic <[email protected]>

* Update CHANGELOG

Signed-off-by: Yuri Nikolic <[email protected]>

---------

Signed-off-by: Yuri Nikolic <[email protected]>

* Get rid of iterators.chunkIterator and iterators.chunkMergeIterator (#7313)

* Get rid of iterators.chunkIterator and iterators.chunkMergeIterator

Signed-off-by: Yuri Nikolic <[email protected]>

* Fixing review findings

Signed-off-by: Yuri Nikolic <[email protected]>

---------

Signed-off-by: Yuri Nikolic <[email protected]>

* Compactor: Language fixes (#7315)

Signed-off-by: Arve Knudsen <[email protected]>

* Do not register compat metrics in mimirtool (#7314)

This commit does the same as we did for amtool in
prometheus/alertmanager#3713. There is no need to register these
metrics, so we use compat.NewMetrics(nil) instead of
compat.RegisteredMetrics.

* Compactor: Un-export symbols that don't need to be exported (#7317)

Signed-off-by: Arve Knudsen <[email protected]>

* Circuit breakers: add client.ErrCircuitBreakerOpen type (#7324)

Signed-off-by: Yuri Nikolic <[email protected]>

* Add mimirpb.CIRCUIT_BREAKER_OPEN error cause (#7330)

* Add mimirpb.CIRCUIT_BREAKER_OPEN error cause

Signed-off-by: Yuri Nikolic <[email protected]>

* Fixing review findings

Signed-off-by: Yuri Nikolic <[email protected]>

---------

Signed-off-by: Yuri Nikolic <[email protected]>

* store-gateway: remove cortex_bucket_store_blocks_loaded_by_duration (#7309)

* store-gateway: remove cortex_bucket_store_blocks_loaded_by_duration

The PR which added this metric 6074, the motivation was to help detect compactors which are falling behind. There is another metric `cortex_bucket_store_series_blocks_queried` added by jhalterman in 7112 which serves better the purpose of detecting uncompacted blocks. The reason is that it has an explicit label for uncompacted blocks, and it also is more sensitive to recent blocks (assuming those are queried much more often than old uncompacted blocks).

Signed-off-by: Dimitar Dimitrov <[email protected]>

* Add CHANGELOG.md entry

Signed-off-by: Dimitar Dimitrov <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Nick Pillitteri <[email protected]>

* Update code comment

Signed-off-by: Dimitar Dimitrov <[email protected]>

---------

Signed-off-by: Dimitar Dimitrov <[email protected]>
Co-authored-by: Nick Pillitteri <[email protected]>

* ruler: don't retry on non-retriable error (#7216)

* ruler: don't retry on non-retriable error

Fix 6609

Signed-off-by: Vladimir Varankin <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Dimitar Dimitrov <[email protected]>

---------

Signed-off-by: Vladimir Varankin <[email protected]>
Co-authored-by: Dimitar Dimitrov <[email protected]>

* Update Alertmanager to f69a508 (#7332)

* Update Alertmanager to f69a508

This commit updates Alertmanager to f69a508. The compat package
metrics are removed, and the tests are updated to check that
logs are emitted instead.

* Fix lint

* Fix lint again

* Use strings.Trim instead of subslice

* Remove integration test TestAlertmanagerMatchersMetrics

* Fix lint

* Prevent configurations with WebhookURLFile

This commit updates the validation rules to prevent Alertmanager
configurations for Discord and Microsoft Teams from using
WebhookURLFile.

* Add additional checks and tests for HTTPConfig

* Fix missing nil check

* Check for embedded HTTPConfig is not needed

* Helm: add ruler specific service account (#7132)

* Helm: add ruler specific service account

Signed-off-by: QuantumEnigmaa <[email protected]>

* add suggestions from review

Signed-off-by: QuantumEnigmaa <[email protected]>

* disable ruler sa by default

* add rolebinding to ruler sa

Signed-off-by: QuantumEnigmaa <[email protected]>

* remove trailing space

Signed-off-by: QuantumEnigmaa <[email protected]>

* update handling of ruler sa name

Signed-off-by: QuantumEnigmaa <[email protected]>

* add doc comment for ruler sa name

Signed-off-by: QuantumEnigmaa <[email protected]>

---------

Signed-off-by: QuantumEnigmaa <[email protected]>

* frontend/transport: log non-2xx replies from downstream as non-successful (#7296)

Signed-off-by: Vladimir Varankin <[email protected]>

* querymiddleware: Pool snappy writer in shard activity series (#7308)

* querymiddleware: pool snappy writer in shard activity series

Signed-off-by: Vladimir Varankin <[email protected]>

* test concurrent requests in shard active series

---------

Signed-off-by: Vladimir Varankin <[email protected]>

* Helm: make PSP configurable (#7190)

* Helm: make PSP configurable

Signed-off-by: QuantumEnigmaa <[email protected]>

* fix changelog

Signed-off-by: QuantumEnigmaa <[email protected]>

* fix psp rendering

Signed-off-by: QuantumEnigmaa <[email protected]>

* Update operations/helm/charts/mimir-distributed/CHANGELOG.md

---------

Signed-off-by: QuantumEnigmaa <[email protected]>
Co-authored-by: Dimitar Dimitrov <[email protected]>

* Helm - Templatable host for gateway ingress/route (#7218)

* feat: added host templating for gateway ingress

* feat: added host templating for gateway route

* fix: missing ctx ref

* Revert "fix: missing ctx ref"

This reverts commit cf956fb.

* fix: missing ctx ref

* ci: ran make build-helm-tests

* updated CHANGELOG.md

* fix: re-ordered changelog

* feat: added templating to global ingress

* fix: added templating to host rules

* docs: values.yaml examples

* test: rebuild tests according to examples

---------

Co-authored-by: Dimitar Dimitrov <[email protected]>

* [Docs] Update migrate-from-single-zone-with-helm.md (#7327)

* Update migrate-from-single-zone-with-helm.md

Fix typo beaching->breaching.

* Update changelog

* Always sort labels in distributors (#7326)

* Always sort labels in distributors

Previously, disabling metric relabelling would also disable label
sorting.

Fixes #7320

* Update comment about sorting

* Update CHANGELOG

* Do not check for ingester ring state before creating TSDB, or compacting / shipping blocks (#7322)

* Do not check for ingester ring state before creating TSDB, or compacting / shipping blocks

Signed-off-by: Marco Pracucci <[email protected]>

* Removed unused param

Signed-off-by: Marco Pracucci <[email protected]>

---------

Signed-off-by: Marco Pracucci <[email protected]>

* Compactor: String format compaction plan as comma separated blocks (#7321)

* Compactor: Format directories as comma separated string

Signed-off-by: Arve Knudsen <[email protected]>

* Compactor: string format plan as comma separated blocks

Signed-off-by: Arve Knudsen <[email protected]>

* Harmonize log message field names

Signed-off-by: Arve Knudsen <[email protected]>

---------

Signed-off-by: Arve Knudsen <[email protected]>

* Add a lifetime manager for Vault authentication tokens (#7337)

* Initial renewal implementation

* Add metrics and integration test to test token renewal

* remove unneeeded comment

* Update CHANGELOG.md

* Use promauto

* address comments

* Use global const for Vault image

* Add failure metric

* Update metrics

* Update CHANGELOG and mark as experimental

* include metric names in about-versioning

* fix(deps): update github.com/grafana/dskit digest to f245b48 (#7283)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Packaging: remove reload from systemd file as mimir does not take into account SIGHUP (#7345)

Signed-off-by: Wilfried Roset <[email protected]>

* Docs: No longer mark OTLP endpoint as experimental (#7348)

Signed-off-by: Arve Knudsen <[email protected]>

* Update golang.org/x/exp digest to 2c58cdc (#7352)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/aws/aws-sdk-go to v1.50.15 (#7353)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module github.com/minio/minio-go/v7 to v7.0.67 (#7354)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency puppeteer to v21.11.0 (#7355)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update helm/kind-action action to v1.9.0 (#7357)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update module cloud.google.com/go/storage to v1.37.0 (#7358)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Jsonnet / Helm: improve distributors graceful shutdown (#7361)

* Jsonnet / Helm: improve distributors graceful shutdown

Signed-off-by: Marco Pracucci <[email protected]>

* Fix Helm distributor termination grace period

Signed-off-by: Marco Pracucci <[email protected]>

---------

Signed-off-by: Marco Pracucci <[email protected]>

* Release mimir-distributed Helm chart 5.3.0-weekly.277 (#7362)

Co-authored-by: grafanabot <[email protected]>

* Distributor: Make `-distributor.enable-otlp-metadata-storage` flag default to true, and deprecate (#7366)

* Distributor: Change -distributor.enable-otlp-metadata-storage flag's default to true and deprecate

---------

Signed-off-by: Arve Knudsen <[email protected]>

* Mark -ingester.limit-inflight-requests-using-grpc-method-limiter and -distributor.limit-inflight-requests-using-grpc-method-limiter as stable and enable it by default (#7360)

* Mark -ingester.limit-inflight-requests-using-grpc-method-limiter and -distributor.limit-inflight-requests-using-grpc-method-limiter as stable and enable it by default

Signed-off-by: Marco Pracucci <[email protected]>

* Improved tests

Signed-off-by: Marco Pracucci <[email protected]>

* Improved tests

Signed-off-by: Marco Pracucci <[email protected]>

* Fixed unit tests

Signed-off-by: Marco Pracucci <[email protected]>

* Mark config as deprecated

Signed-off-by: Marco Pracucci <[email protected]>

---------

Signed-off-by: Marco Pracucci <[email protected]>

* Do not consider out-of-order blocks when filtering compactable jobs (#7342)

* Do not consider out-of-order blocks when filtering compactable jobs

Co-authored-by: Marco Pracucci <[email protected]>

* mimir: Inject span profiler into tracer (#7363)

* mimir: inject span profiler into tracer

Signed-off-by: Vladimir Varankin <[email protected]>

* Update changelog

Signed-off-by: Vladimir Varankin <[email protected]>

---------

Signed-off-by: Vladimir Varankin <[email protected]>

* Add experimental partitions ring lifecycler support (#7349)

* Add experimental partitions ring lifecycler support

Signed-off-by: Marco Pracucci <[email protected]>
Co-authored-by: Dimitar Dimitrov <[email protected]>
Co-authored-by: Peter Štibraný <[email protected]>

* Use http.Error()

Signed-off-by: Marco Pracucci <[email protected]>

* Skip deprecated linter check for code that will be soon replaced

Signed-off-by: Marco Pracucci <[email protected]>

* Updated dskit

Signed-off-by: Marco Pracucci <[email protected]>

* Add partition id to logs

Signed-off-by: Marco Pracucci <[email protected]>

* Added comment

Signed-off-by: Marco Pracucci <[email protected]>

* Added TestIngester_ShouldNotCreatePartitionIfThereIsShutdownMarker

Signed-off-by: Marco Pracucci <[email protected]>

---------

Signed-off-by: Marco Pracucci <[email protected]>
Co-authored-by: Dimitar Dimitrov <[email protected]>
Co-authored-by: Peter Štibraný <[email protected]>

* feat(helm): Adding KEDA autoscaling support

* chore: rebase branch with main

* chore: make build-helm-tests

---------

Signed-off-by: Vladimir Varankin <[email protected]>
Signed-off-by: Peter Štibraný <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>
Signed-off-by: Nick Pillitteri <[email protected]>
Signed-off-by: Arve Knudsen <[email protected]>
Signed-off-by: Dimitar Dimitrov <[email protected]>
Signed-off-by: Yuri Nikolic <[email protected]>
Signed-off-by: QuantumEnigmaa <[email protected]>
Signed-off-by: Wilfried Roset <[email protected]>
Co-authored-by: Vladimir Varankin <[email protected]>
Co-authored-by: Marco Pracucci <[email protected]>
Co-authored-by: Andy Asp <[email protected]>
Co-authored-by: Peter Štibraný <[email protected]>
Co-authored-by: Arve Knudsen <[email protected]>
Co-authored-by: Nick Pillitteri <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Grot (@grafanabot) <[email protected]>
Co-authored-by: grafanabot <[email protected]>
Co-authored-by: Dimitar Dimitrov <[email protected]>
Co-authored-by: Đurica Yuri Nikolić <[email protected]>
Co-authored-by: George Robinson <[email protected]>
Co-authored-by: Zirko <[email protected]>
Co-authored-by: Itay Kalfon <[email protected]>
Co-authored-by: Éamon Ryan <[email protected]>
Co-authored-by: Patrick Oyarzun <[email protected]>
Co-authored-by: Fayzal Ghantiwala <[email protected]>
Co-authored-by: Wilfried ROSET <[email protected]>
Co-authored-by: Jonathan Halterman <[email protected]>
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.

Ruler Remote Querier shouldn't retry when payload exceeding server.grpc-max-send-msg-size-bytes
3 participants