[
https://issues.apache.org/jira/browse/OAK-3791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15058069#comment-15058069
]
Teodor Rosu commented on OAK-3791:
----------------------------------
[~chetanm] I considered a DocumentStore wrapper that measures every method (
very similar to what TimingDocumentStoreWrapper does, but with Timer metrics).
The main issue is that on cache hit the call is instant, but on cache miss the
call will take time. It might be more useful to track separately
cached/uncached methods.
In short:
1+2: Agree: measure every call that is not served instantly from cache.
3. While exposing new metrics in StatisticsProvider as JMX Mbeans is simple,
exposing new TimeSeries needs changes in RepositoryStats/MBean.
> Time measurements for DocumentStore methods
> -------------------------------------------
>
> Key: OAK-3791
> URL: https://issues.apache.org/jira/browse/OAK-3791
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core, documentmk
> Reporter: Teodor Rosu
> Priority: Minor
>
> For monitoring ( in big latency environments ), it would be useful to measure
> and report time for the DocumentStore methods.
> These could be exposed as (and/or):
> - as Timers generated obtained from StatisticsProvider ( statistics registry )
> - as TimeSeries
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)