On Mon, May 29, 2017 at 5:02 PM, Andrei Kalfas
<[email protected]> wrote:
> Is this the only intended way of reporting these metrics?

By default this is the only mode. In addition the MetricRegistry is
registered in OSGi service registry. So some other component can look
it up and use it with different reporter. This is used in Sling to
report the metrics to Felix WebConsole [1] and [2]

Chetan Mehrotra

[1] 
https://github.com/apache/sling/blob/trunk/bundles/commons/metrics/src/main/java/org/apache/sling/commons/metrics/internal/MetricWebConsolePlugin.java#L106
[2] 
https://sling.apache.org/documentation/bundles/metrics.html#webconsole-plugin

Reply via email to