Espacially when you have larger services running in your Adobe Experience Manager an metrics database can become quite handy (for both developers and the customer).
Integration in your project
Depending on your project, you might need to include the Dropwizard Metrics Libraries.
After deploying the packages, you’ll find a new Configuration in your OSGi console.
You can now inject the MetricRegistry into your components and use it as described in Dropwizard’s Manual
Note: Although this posts describes how to use Graphite in AEM, it’s also no problem to use this for a plain OSGi project.