Update metrics MBean
The update metrics MBean records the amount of time spent to execute an index update, split by the following main phases:
Updated for reindexing only. The time spent by the index update task into the index pool.
The time spent preparing the actual index update.
The time spent to actually execute the index update on Apache Lucene®.
Use the update metrics MBean to tune all factors that impact indexing performance, such as back pressure, indexing threads, RAM buffer size, and merge factor.
The following MBean operations are provided:
- setEnabled(boolean enabled)
Enables/disables metrics recording (enabled by default).
Checks if metrics recording is enabled.
- getLatencyPercentile(String phase, double percentile)
Gets a commit latency percentile by its phase.
- getRecordedLatencyCount(String phase)
Gets the total count of recorded latency metrics by its phase.
Gets the total count of unrecorded latency values, because exceeding the max tracked latency.
- resetLatency(String phase)
Resets latency metrics for the given phase.
Resets all latency metrics.
The maximum tracked latency is 10 minutes. Latency values are in microseconds.