On Thu, Jan 19, 2017 at 12:04 PM, Ian Boston <i...@tfd.co.uk> wrote: > ...It could be so simple to have 1 bundle exposing a service, adaptable to the > required MetricsRegistry singleton for reporting...
IIUC what you suggest can also help with namespacing the metrics, which is important as we add more metrics. How would that look in code, something like this? @Reference private MetricsServiceProvider msp; ... Counter c = msp.metrics("org.apache.sling").counter("sessionCounter") -Bertrand