Reindex metrics MBean

Exposes metrics for the current state and history of reindexing tasks.

The reindex metrics describe the current state and history of reindexing tasks. Requesting a core reindex with dsetool reload_core or using a CQL REBUILD SEARCH INDEX command will no longer build up a queue of reindexing tasks on a node. Instead, a reindexing task is started that handles all reindex requests already submitted to that node.

Reindex metrics MBean is registered for each core with metricType=ReindexMetrics

Path

The reindexing MBean is identified by the following path:
com.datastax.bdp.search.keyspace_name.table_name.ReindexMetrics
where:
  • search is the Mbean type
  • keyspace_name.table_name is the search index (core) that the metrics reference
  • ReindexMetrics is the MBean name

Available metrics are:

Table 1.
Metric name Allowed values Description
Progress Percentage 0-100 Percent progress, where a value of 100 indicates that reindexing is not running.
Reindexing True/False Indicates if a search core is being reindexed.
Current reindexing reason NONE, BOOTSTRAP, NEW_SSTABLES, USER_REQUEST Reason for current reindexing.
Reindexing Pending True/False Indicates if a user-requested reindex is awaiting execution.
Reindex ETA ETA in milliseconds
Total Requests Submitted Number of reindex requests submitted since node start-up; includes all reindex types.
Total User Requests Submitted Number of reindex requests submitted by user since node start-up.
Total Reindexings Run Total number of reindexing tasks executed since startup.
Reindexings Run Due To User Request Total number of reindexing tasks executed on behalf of a user since startup.
Reindexings Run With Index Delete Number of reindexing tasks executed with deleteAll==true since startup.
Reindexing Time Timer for reindexing; uses ExponentiallyDecayingReservoir for histogram.