eclipse / microprofile-metrics

microprofile-metrics
Apache License 2.0
100 stars 66 forks source link

Remove the concept of reusability #559

Closed jmartisk closed 4 years ago

jmartisk commented 4 years ago

Fixes https://github.com/eclipse/microprofile-metrics/issues/553

jmartisk commented 4 years ago

would it be possible to add a test that tries to register two different methods with the same gauge annotation to ensure that the implementation throws an IllegalArgumentException at initialization time?

I'll have a look at that later and perhaps send another PR (https://github.com/eclipse/microprofile-metrics/issues/570)