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

Set is_master metric to 0 for when starting up #920

Merged
merged 1 commit into from
May 4, 2022
Merged

Set is_master metric to 0 for when starting up #920

merged 1 commit into from
May 4, 2022

Conversation

pav-kv
Copy link
Contributor

@pav-kv pav-kv commented May 4, 2022

Without this, no metric is exported if the goroutine never gets elected,
so the alerting for "no leader" doesn't work correctly.

Checklist

Without this, no metric is exported if the goroutine never gets elected,
so the alerting for "no leader" doesn't work correctly.
@pav-kv pav-kv requested a review from jiggoha May 4, 2022 11:05
@pav-kv pav-kv changed the title Set is_master metric to 0 for when starting up. Set is_master metric to 0 for when starting up May 4, 2022
@pav-kv pav-kv merged commit ae7d4b7 into google:master May 4, 2022
@pav-kv pav-kv deleted the set_is_master branch May 4, 2022 11:22
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.

None yet

2 participants