[
https://issues.apache.org/jira/browse/OAK-7021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16276542#comment-16276542
]
Chetan Mehrotra commented on OAK-7021:
--------------------------------------
[~mreutegg] [~catholicon] [[email protected]] Probably we can add a
generic method to DocumentStore
{noformat}
void dumpStats(PrintWriter printWriter)
{noformat}
And have implementation for both stores. This can then be used by an
InventoryPrinter implementation to include this info with config zip. Also same
can be exposed via JMX
> Collect DocumentStore stats as part of status zip
> -------------------------------------------------
>
> Key: OAK-7021
> URL: https://issues.apache.org/jira/browse/OAK-7021
> Project: Jackrabbit Oak
> Issue Type: New Feature
> Components: documentmk
> Reporter: Chetan Mehrotra
> Fix For: 1.8
>
>
> Many times while investigating issue we request customer to provide Mongo db
> stats. It would be useful if there is an InventoryPrinter for DocumentStore
> which dumps various stats
> Some useful stats would be
> * Number of entries in "nodes" collection
> * Index memory size
> * Node collection size on disk
> * Number of cluster members which are active
> See OAK-6179 for inventory printer related details
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)