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

Merged
merged 1 commit into from Jan 5, 2017

Conversation

Projects
None yet
2 participants
@randomstatistic
Contributor

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

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@arteam

This comment has been minimized.

Show comment
Hide comment
@arteam

arteam Jan 5, 2017

Member

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

Member

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