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 support for some extra Riak stats #89

Merged
merged 2 commits into from
Nov 10, 2014
Merged

Add support for some extra Riak stats #89

merged 2 commits into from
Nov 10, 2014

Conversation

algernon
Copy link
Contributor

I'd like to monitor the node_gets_set, node_puts_set statistics, along with the node_fsm_get_set_objsize_* family of stats. This pull request adds both, although the latter in a very hackish way, which should likely be done better.

But my ruby is quite weak, and my time limited, so I wanted to get this out here ASAP. I can reshape the patches - especially the second - later, if so need be.

Add `node_gets_set` and `node_puts_set` to core_services, to catch Set
get/put stats.

Signed-off-by: Gergely Nagy <[email protected]>
This changes how the fsm stats work, so we can add support for
`node_get_fsm_objsize_*` too, with as little code change as possible.

Signed-off-by: Gergely Nagy <[email protected]>
@aphyr
Copy link
Collaborator

aphyr commented Nov 10, 2014

This looks solid to me, @algernon. Does it test OK with your Riak setup? If so, I'll merge and we'll be good to go. :)

@algernon
Copy link
Contributor Author

Yep. Works fine.

aphyr added a commit that referenced this pull request Nov 10, 2014
Add support for some extra Riak stats
@aphyr aphyr merged commit dde783e into riemann:master Nov 10, 2014
@aphyr
Copy link
Collaborator

aphyr commented Nov 10, 2014

Thank you, Gergely. :)

@algernon algernon deleted the f/riak-extra-stats branch November 10, 2014 20:37
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