[
https://issues.apache.org/jira/browse/OAK-4726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15454825#comment-15454825
]
Ian Boston commented on OAK-4726:
---------------------------------
Patch that instruments the IndexWriter can be found at
https://github.com/apache/jackrabbit-oak/compare/trunk...ieb:OAK-4726
It generates a set of metrics for each index based on the name of the index.
[~chetanm] would this help ? Should the Tokenizer also have metrics ?
> Add Metrics coverage to the Lucene Indexer
> ------------------------------------------
>
> Key: OAK-4726
> URL: https://issues.apache.org/jira/browse/OAK-4726
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: lucene
> Affects Versions: 1.5.8
> Reporter: Ian Boston
>
> Although there are some stats surrounding the Lucene indexing processes it
> would be useful to have metrics style stats available.
> Looking at the code, the implementations IndexWriter look like the right
> place to add the metrics. These could be global aggregate metrics, ie one set
> of metrics covering all IndexWriter implementations, or there could be
> individual metrics for each Lucene index definition. The latter would be more
> useful as it will allow detailed stats on individual metrics.
> These metrics will only give information on the writer operations, and not
> any Tokenizing operations.
> Patch in the form of a pull request will flow.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)