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 pool statistics #3

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

dombenson
Copy link

No description provided.

Add support for different endpoint types - extend the Resourcer interface
for this, since the private methods already prevent out-of-package resourcer
implementations.

Specifically add the statistics path stub, and add helpers and types to get
pool statistics.
Add entries for the 22 statistics resource types to the readme
Clarify sections for config and stats
Mark pools as implemented
Whilst falling through the type switch probably indicates a package-internal error,
return an error rather than panicing as callers already have to handle this.
The traffic counters are split into high and low bits for 32-bit values
These are actually uint32, not int32
@cwood
Copy link

cwood commented Jun 21, 2018

This looks good. Sorry I havnt been looking at this.

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