2017-02-14 9:15 GMT+01:00 Chetan Mehrotra <[email protected]>:
> On Tue, Feb 14, 2017 at 1:15 PM, Francesco Mari
> <[email protected]> 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

That's where it happens! I only went through the
DefaultStatisticsProvider, I missed the other implementation.

>> 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