Extract pull and push metrics from Nexus oss

Hi guys,
I would like to expose/export some metrics from Nexus like artifacts pushed and pulled. I know there is a metrics endpoint using Dropwizard:


My idea is to add a new endpoint to the metrics, something like: {host:port}/service/metrics/artifacts.

Which is the best way to do this? Create a new plugin?