Get the MetricRegistry from the environment, and remove metrics by name: 

env.metrics().remove("com.my.metric.name")


On Monday, September 12, 2016 at 4:42:08 AM UTC-6, Tomaž Majerhold wrote:
>
> Is there any way to unregister or clean metrics?
>
>
> Regards, Tomaz
>

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to