On Thu, Jan 19, 2017 at 4:34 PM, Ian Boston <i...@tfd.co.uk> wrote: > I also fear that there will be multiple APIs, all nearly the same,
The recommended API is the one in Sling Commons Metrics. Oak one is internal to use in Oak and should not be used by other components. This is because implementation in Oak predates the one in Sling and hence we have current situation. May be in 1.8 we can have an adapter in Oak which delegates to Sling. > BTW. [2] doesnt work with the version of Oak 1.6 I am testing on. It didnt > export MetricsRegistry. Can you provide some more details. As I used the bundle with trunk builds of few month back and it worked as desired. StatisticsProviderFactory in Oak registers the MetricsRegistry instance with OSGi with required service property Chetan Mehrotra