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

Metrics for partitions #40

Closed
peimanja opened this issue Aug 20, 2017 · 2 comments · Fixed by #45
Closed

Metrics for partitions #40

peimanja opened this issue Aug 20, 2017 · 2 comments · Fixed by #45
Assignees

Comments

@peimanja
Copy link

peimanja commented Aug 20, 2017

Is it possible to add metrics for partitions? It is very useful to detect if the cluster is healthy or a split brains happened.
it is available on http://localhost:15672/api/nodes

{partitions,[{rabbit@smacmullen,[hare@smacmullen]},
 =>               {hare@smacmullen,[rabbit@smacmullen]}]}]```
A healthy cluster has no partitions 
{"partitions":[] ...

So I guess it can be a global metric with the value of 0 or more.

@kbudde
Copy link
Owner

kbudde commented Aug 20, 2017

Hi,

it sounds useful. I'll add it as soon as I have some time.

BR

Kris

@kbudde kbudde self-assigned this Aug 20, 2017
@kbudde kbudde mentioned this issue Sep 24, 2017
kbudde added a commit that referenced this issue Sep 24, 2017
- #38 connection metrics
- #40 metric for partition info
- Build using go 1.9

closes #40, #38
@peimanja
Copy link
Author

Cheers

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 a pull request may close this issue.

2 participants