On Tue, Feb 14, 2017 at 1:15 PM, Francesco Mari
<mari.france...@gmail.com> wrote:
> What could be gained
> by adding Metrics to the trivial implementation of IOMonitorMBean
> described above?

The metrics created here are automatically registered in JMX (see
MetricStatisticsProvider)  and also accessible over web ui for example
when running in Sling [1]. The JMX one then can be read by external
monitoring agent

> In example, how the methods in DocumentStoreStats returning time series as
> CompositeData play with other monitoring solutions like ElasticSearch/Kibana?

That is just for convenience i.e. for those setups which do not have
any external monitoring setup installed the time series provides some
insight for stats in past via JMX

Chetan Mehrotra
[1] 
https://sling.apache.org/documentation/bundles/metrics.html#webconsole-plugin

Reply via email to