[
https://issues.apache.org/jira/browse/OAK-9913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17600332#comment-17600332
]
Jose Andrés Cordero commented on OAK-9913:
------------------------------------------
Usually I prefer to make the least amount of changes that is possible. Updating
the 4 existing methods in
[DocumentNodeStats|https://github.com/apache/jackrabbit-oak/blob/trunk/oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStoreStats.java]
will probably require additional changes in classes that could remain
untouched otherwise, so in case this approach is used, I would create
additional methods maintaining the current API.
And I would try to use
[TimerStats|https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core-spi/src/main/java/org/apache/jackrabbit/oak/stats/TimerStats.java]
too.
> Expose Metrics for Mongo DocumentStore throttling
> -------------------------------------------------
>
> Key: OAK-9913
> URL: https://issues.apache.org/jira/browse/OAK-9913
> Project: Jackrabbit Oak
> Issue Type: New Feature
> Reporter: Rishabh Kumar
> Priority: Major
>
> Expose metrics for the Mongo DocumentStore throttling feature. This allows us
> to better observe when the DocumentStore is throttled.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)