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

add option for consul_health_node_status to use leader election / semaphores #111

Open
chnrxn opened this issue May 28, 2019 · 0 comments
Open

Comments

@chnrxn
Copy link

chnrxn commented May 28, 2019

Every node in a Consul cluster will report on every check on every other node. In a cluster with N nodes and C checks, this creates 4*N*N*C which is exponential to N. Querying consul_health_node_status on large clusters can be quite time consuming.

One proposal is to support and optional flag to use a semaphore (size configurable) such that only a few hosts will be exporting consul_health_node_status. This way, we still achieve redundancy without exploding the number of time-series being produced.

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

No branches or pull requests

1 participant