mreutegg commented on code in PR #690:
URL: https://github.com/apache/jackrabbit-oak/pull/690#discussion_r972666014


##########
oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStoreStats.java:
##########
@@ -157,6 +203,41 @@ public DocumentStoreStats(StatisticsProvider provider) {
 
         prefetchNodes = provider.getMeter(NODES_PREFETCH, 
StatsOptions.DEFAULT);
         prefetchNodesTimer = provider.getTimer(NODES_PREFETCH_TIMER, 
StatsOptions.METRICS_ONLY);
+
+        // metrics for throttling
+        MeterStats createSplitNodeWithThrottlingMeter = 
provider.getMeter(NODES_CREATE_SPLIT_WITH_THROTTLING, StatsOptions.DEFAULT);

Review Comment:
   Yes, I would change the naming.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@jackrabbit.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to