Skip to content
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

Disabling of leader-only cycle metrics when scheduler is follower #3949

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

eleanorpratt
Copy link
Collaborator

Currently, all of the scheduler's cycle metrics continue to be collected when the scheduler is in follower mode. This results in stale metrics. This change brings these metrics in line with the scheduler's state metrics, resetting and disabling the collection of these metrics when the scheduler is a follower, excluding the reconciliation cycle time metric which continues to be observed and collected.

This PR also consolidates the disabling/enabling of both state and cycle metrics under Disable/EnableLeaderMetrics.

@d80tb7 d80tb7 enabled auto-merge (squash) September 12, 2024 16:15
@d80tb7 d80tb7 merged commit f45aefa into master Sep 12, 2024
20 checks passed
@d80tb7 d80tb7 deleted the sendToGitHub/reset-scheduler-metrics-on-follower branch September 12, 2024 16:15
@svc-gh-ghzonetrans-p svc-gh-ghzonetrans-p restored the sendToGitHub/reset-scheduler-metrics-on-follower branch September 12, 2024 16:16
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.

2 participants