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:

        {host:port}/service/metrics/healthcheck
        {host:port}/service/metrics/data
        {host:port}/service/metrics/ping
        {host:port}/service/metrics/threads

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?
Regards,
Cristian.