Configuring DSE Metrics Collector
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
-
Ensure that the DSE Metrics Collector is enabled.
-
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. -
To configure the data and log directories for DSE Metrics Collector, see Configuring the data and log directories for DSE Metrics Collector.
-
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;
- DSE Metrics Collector configuration examples
-
Examples of using the dsetool insights_config command to enable, disable, and configure DSE Metrics Collector.
- Configuring the data and log directories for DSE Metrics Collector
-
Configure the directories where DSE Metrics Collector stores metrics and logs.
- Filtering metrics
-
Create whitelists and blacklists using regular expressions to filter metrics reported by DSE Metrics Collector.