[ https://issues.apache.org/jira/browse/OAK-7907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16693452#comment-16693452 ]
Paul Chibulcuteanu commented on OAK-7907: ----------------------------------------- [~teofili], [~catholicon], I've found an easier to fix this issue punctually. See [^OAK-7907_v3.patch]. Because RepositoryStats MBean was using QUERY_DURATION,QUERY_AVERAGE, QUERY_COUNT, but was not exposing the later, I've made it a a standalone metric which calculates the total number of queries run. This would not solve the conversation on figuring out how to properly provide a _statisticsProvider_ to be used for other metrics, like: https://issues.apache.org/jira/browse/OAK-7904 > Exporting total query count with Sling Metrics / DropWizard > ----------------------------------------------------------- > > Key: OAK-7907 > URL: https://issues.apache.org/jira/browse/OAK-7907 > Project: Jackrabbit Oak > Issue Type: Bug > Components: indexing, query > Reporter: Paul Chibulcuteanu > Assignee: Paul Chibulcuteanu > Priority: Major > Attachments: OAK-7907_v1.patch, OAK-7907_v2.patch, OAK-7907_v3.patch > > > Purpose of this task is to evaluate & create a metric which presents the > number of queries run in Oak. > metric name: QUERY-COUNT -- This message was sent by Atlassian JIRA (v7.6.3#76005)