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

FEATURE: Add primaries_down_count function to failover handlers #14

Merged
merged 3 commits into from
Nov 9, 2020

Conversation

davidtaylorhq
Copy link
Member

This is intended for consumption by monitoring systems (e.g. the Discourse prometheus exporter)

This is intended for consumption by monitoring systems (e.g. the Discourse prometheus exporter)
@SamSaffron
Copy link
Member

looks good to me, technically though do we need a mutex here or elsewhere? I am mixed in that I don't want to add complexity, but yeah this is going to be pretty multithreaded.

@davidtaylorhq davidtaylorhq merged commit c04a628 into master Nov 9, 2020
@davidtaylorhq davidtaylorhq deleted the metrics branch November 9, 2020 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants