Collecting handler statistics

Enable the solr_update_handler_metrics_options parameter in dse.yaml and set the other options as required.

The Update handler statistics records core-specific direct update handler statistics over time.

All objects are disabled by default.

dse.yaml

The location of the dse.yaml file depends on the type of installation:

Package installations
Installer-Services installations

/etc/dse/dse.yaml

Tarball installations
Installer-No Services installations

installation_location/resources/dse/conf/dse.yaml

Procedure

  1. Edit the dse.yaml file.
  2. In the dse.yaml file, uncomment the solr_update_handler_metrics_options parameter and set the options as required.
    # Solr UpdateHandler metrics options
    solr_update_handler_metrics_options:
        enabled: true
        ttl_seconds: 604800
        refresh_rate_ms: 60000

    All objects are disabled by default.

    Table 1. Options
    Options Determines
    enabled Whether the object is enabled at start up.
    ttl_seconds How many seconds a record survives before it is expired from the performance object.
    refresh_rate_ms Period (in milliseconds) between sample recordings for periodically updating statistics like the solr_result_cache_stats.