[
https://issues.apache.org/jira/browse/OAK-4726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15454970#comment-15454970
]
Ian Boston commented on OAK-4726:
---------------------------------
For existing instances, there is a config to instrument the same methods as the
patch instruments using Sling metrics at
https://github.com/ieb/slingmetrics/blob/master/config/metrics_indexing.yaml.
This wont generate one metric set per index, as the patch does, but will allow
earlier versions of Oak, with the same class/method names to generate metrics
on their indexing behaviour. See the README.md in that repo to see how to use
Sling 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)