Configuring DSE Metrics Collector

DataStax Enterprise (DSE) Metrics Collector configuration includes tuning time intervals for when metrics are collected and configuration changes are refreshed, setting the reporting period, and defining directory sizes and locations to store metrics and metrics logs.

DataStax Enterprise (DSE) Metrics Collector configuration includes tuning:
  • Time interval of metrics collection
  • Time interval to refresh configuration changes
  • Time interval of node system information collection
  • Maximum size of the local data directory
  • The directories where DSE Metrics Collector stores metrics and metrics logs.

Procedure

  1. Ensure that the DSE Metrics Collector is enabled.
  2. To configure metrics collection, use the dsetool insights_config command with the applicable option.
    See configuration examples for instructions to modify specific configurations. Restarting DSE is not required after changing configuration with the dsetool insights_config command.
  3. To configure the data and log directories for DSE Metrics Collector, see Configuring the data and log directories for DSE Metrics Collector.
  4. If role-based access control (RBAC) is enabled and you want to report metrics for DataStax drivers, ensure that application database users have permission to the InsightsRpc object.

    The following CQL command provides access to the InsightsRpc object for the specified role:

    GRANT EXECUTE ON REMOTE OBJECT InsightsRpc TO role;
    See Authorizing remote procedure calls for more information.