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

Provide a way to reset timers on endpoints without requiring a service restart #19

Open
schlosna opened this issue May 11, 2017 · 3 comments

Comments

@schlosna
Copy link
Contributor

It'd be nice to have an admin task that allows for the reset of all timers. AFAIK currently the only way to do this is to bounce the service.

@schlosna
Copy link
Contributor Author

Might be able to expose the HdrHistogramResetOnSnapshotReservoir which is "a reservoir that resets its internal state on each snapshot (which is how reporters get information from reservoirs)"

See also dropwizard/metrics#143 and http://taint.org/2014/01/16/145944a.html

@schlosna
Copy link
Contributor Author

Going to close this out for now as I am not sure we want to snapshot everytime due to overhead and potential misuse via things like JMX monitors causing many snapshots during monitoring. See https://issues.apache.org/jira/browse/CASSANDRA-11752 for some background.

@schlosna
Copy link
Contributor Author

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