Collecting performance statistics

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

When solr_latency_snapshot_options is enabled, the performance service creates the required tables and schedules the job to periodically update the relevant snapshot from the specified data source.

The following snapshots collect performance statistics:

All objects are disabled by default.

Procedure

  1. Edit the dse.yaml file.
    The location of the dse.yaml file depends on the type of installation:
    Installer-Services /etc/dse/dse.yaml
    Package installations /etc/dse/dse.yaml
    Installer-No Services install_location/resources/dse/conf/dse.yaml
    Tarball installations install_location/resources/dse/conf/dse.yaml
  2. In the dse.yaml file, under the solr_latency_snapshot_options parameter, change enabled to true and set the other options as required.
    # Solr latency snapshot options
    solr_latency_snapshot_options:
        enabled: true
        ttl_seconds: 604800
        refresh_rate_ms: 60000

    All objects are disabled by default.

    Options
    Name Type Affects
    enabled boolean Whether or not the object is enabled at start up.
    ttl_seconds int How long (in seconds) a record survives before expiring from the performance object.
    refresh_rate_ms int Period (in milliseconds) between sample recordings for periodically updating statistics like the solr_result_cache_stats.