lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SOLR-9898) Documentation for metrics collection and /admin/metrics
Date Tue, 03 Jan 2017 15:07:58 GMT

    [ https://issues.apache.org/jira/browse/SOLR-9898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15795262#comment-15795262
] 

Andrzej Bialecki  edited comment on SOLR-9898 at 1/3/17 3:07 PM:
-----------------------------------------------------------------

h1. Index merge metrics
These metrics are collected in respective registries for each core, under the {{INDEX}} category.
Basic metrics are always collected - collection of additional metrics can be turned on using
boolean parameters in the {{/config/indexConfig/metrics}} section of {{solrconfig.xml}}:
{code}
<config>
  ...
  <indexConfig>
    <metrics>
      <majorMergeDocs>524288</majorMergeDocs>
      <bool name="mergeDetails">true</bool>
      <bool name="directoryDetails">true</bool>
    </metrics>
    ...
  </indexConfig>
...
</config>
{code}

The following metrics are collected:
* {{INDEX.merge.major}} - timer for merge operations that include at least "majorMergeDocs"
(default value for this parameter is 512k documents).
* {{INDEX.merge.minor}} - timer for merge operations that include less than "majorMergeDocs".
* {{INDEX.merge.errors}} - counter for merge errors.
* {{INDEX.flush}} - meter for index flush operations.

Additionally, the following gauges are reported, which help to monitor the momentary state
of index merge operations:
* {{INDEX.merge.major.running}} - number of running major merge operations (depending on the
implementation of {{MergeScheduler}} that is used there can be several concurrently running
merge operations).
* {{INDEX.merge.minor.running}} - as above, for minor merge operations.
* {{INDEX.merge.major.running.docs}} - total number of documents in the segments being currently
merged in major merge operations.
* {{INDEX.merge.minor.running.docs}} - as above, for minor merge operations.
* {{INDEX.merge.major.running.segments}} - number of segments being currently merged in major
merge operations.
* {{INDEX.merge.minor.running.segments}} - as above, for minor merge operations.

If the boolean flag {{mergeDetails}} is true then the following additional metrics are collected:
* {{INDEX.merge.major.docs}} - meter for the number of documents merged in major merge operations
* {{INDEX.merge.major.deletedDocs}} - meter for the number of deleted documents expunged in
major merge operations



was (Author: ab):
h1. Index merge metrics
These metrics are collected in respective registries for each core, under the {{INDEX}} category.
Basic metrics are always collected - collection of additional metrics can be turned on using
boolean parameters in the {{/config/indexConfig/metrics}} section of {{solrconfig.xml}}:
{code}
<config>
  ...
  <indexConfig>
    <metrics>
      <majorMergeDocs>524288</majorMergeDocs>
      <bool name="mergeDetails">true</bool>
      <bool name="directoryDetails">true</bool>
    </metrics>
    ...
  </indexConfig>
...
</config>
{code}

The following metrics are collected:
* {{INDEX.merge.major}} - timer for merge operations that include at least "majorMergeDocs"
(default value for this parameter is 512k documents).
* {{INDEX.merge.minor}} - timer for merge operations that include less than "majorMergeDocs".
* {{INDEX.merge.errors}} - counter for merge errors.
* {{INDEX.flush}} - meter for index flush operations.
Additionally, the following gauges are reported, which help to monitor the momentary state
of index merge operations:
* {{INDEX.merge.major.running}} - number of running major merge operations (depending on the
implementation of {{MergeScheduler}} that is used there can be several concurrently running
merge operations).
* {{INDEX.merge.minor.running}} - as above, for minor merge operations.
* {{INDEX.merge.major.running.docs}} - total number of documents in the segments being currently
merged in major merge operations.
* {{INDEX.merge.minor.running.docs}} - as above, for minor merge operations.
* {{INDEX.merge.major.running.segments}} - number of segments being currently merged in major
merge operations.
* {{INDEX.merge.minor.running.segments}} - as above, for minor merge operations.
If the boolean flag {{mergeDetails}} is true then the following additional metrics are collected:
* {{INDEX.merge.major.docs}} - meter for the number of documents merged in major merge operations
* {{INDEX.merge.major.deletedDocs}} - meter for the number of deleted documents expunged in
major merge operations


> Documentation for metrics collection and /admin/metrics
> -------------------------------------------------------
>
>                 Key: SOLR-9898
>                 URL: https://issues.apache.org/jira/browse/SOLR-9898
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: documentation
>    Affects Versions: master (7.0), 6.4
>            Reporter: Andrzej Bialecki 
>            Assignee: Cassandra Targett
>
> Draft documentation follows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message