Skip to content

Conversation

@grobinson-grafana
Copy link
Contributor

@grobinson-grafana grobinson-grafana commented Nov 18, 2025

What this PR does / why we need it:

This commit abstracts the failover to withRandomShuffle as it will be used in both ExceedsLimits and a future UpdateRates RPC (to be added in a subsequent commit).

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Documentation added
  • Tests updated
  • Title matches the required conventional commits format, see here
    • Note that Promtail is considered to be feature complete, and future development for logs collection will be in Grafana Alloy. As such, feat PRs are unlikely to be accepted unless a case can be made for the feature actually being a bug fix to existing behavior.
  • Changes that require user attention or interaction to upgrade are documented in docs/sources/setup/upgrade/_index.md
  • If the change is deprecating or removing a configuration option, update the deprecated-config.yaml and deleted-config.yaml files respectively in the tools/deprecated-config-checker directory. Example PR

@grobinson-grafana grobinson-grafana requested a review from a team as a code owner November 18, 2025 17:32
This commit abstracts the failover to withRandomShuffle as it will
be used in both ExceedsLimits and a future UpdateRates RPC
(to be added in a subsequent commit).
@grobinson-grafana grobinson-grafana force-pushed the grobinson/abstract-failover-to-with-random-shuffle branch from 078fe8b to ceaebbf Compare November 18, 2025 17:35
@grobinson-grafana grobinson-grafana merged commit bd99fa5 into main Nov 18, 2025
65 checks passed
@grobinson-grafana grobinson-grafana deleted the grobinson/abstract-failover-to-with-random-shuffle branch November 18, 2025 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants