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

Andrzej Bialecki  commented on SOLR-9898:
-----------------------------------------

h1. Directory I/O metrics
Index storage (represented in Lucene/Solr by {{Directory}} abstraction) is 
monitored for I/O throughput, which is optionally tracked per index file (see 
the previous section, {{directoryDetails}} argument). As with the index-level 
metrics, these metrics are also registered in per-core registries.

The following metrics are collected:
* {{DIRECTORY.total.reads}} - meter for total read bytes from the directory.
* {{DIRECTORY.total.writes}} - meter for total written bytes to the directory.

If {{directoryDetails}} is set to true the following additional metrics are 
collected (note: this can potentially produce a lot of metrics so it should not 
be used in production):
* {{DIRECTORY.total.readSizes}} - histogram of read operation sizes (in byte 
units)
* {{DIRECTORY.total.writeSizes}} - histogram of write operation sizes (in byte 
units)
* {{DIRECTORY.<file type>.reads}} - meter for read bytes per "file type". File 
type is either {{segments}} for {{segments_N}} and {{pending_segments_N}}, or a 
file extension (eg. {{fdt}}, {{doc}}, {{tim}}, etc). The number and type of 
these files vary depending on the type of Lucene {{Codec}} used.
* {{DIRECTORY.<file type>.writes}} - meter for written bytes per "file type".
* {{DIRECTORY.<file type>.readSizes}} -  histogram of write operation sizes per 
"file type" (in byte units).
* {{DIRECTORY.<file type>.writeSizes}} -  histogram of write operation sizes 
per "file type" (in byte units).


> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to