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 thread-safe getters for metrics with custom instantiations. #1023



Copy link

@randomstatistic randomstatistic commented Nov 29, 2016

Fixes Issue #780.

A disappointing amount of boilerplate here, but I think this is what you had in mind, @ryantenney.

Once nice thing though, is that this allowed a path for MetricRegistry.gauge, which is a thing I'd wished I'd had last year.

@arteam arteam merged commit 29e5d6c into dropwizard:3.2-development Jan 5, 2017
1 check passed
Copy link

@arteam arteam commented Jan 5, 2017

Thank you very much for your contribution. Looks like exactly what @ryantenney had in mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants