Configuring DSE Metrics Collector
DataStax Enterprise (DSE) Metrics Collector configuration includes tuning the following parameters:
-
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
General configuration
To configure metrics collection, the DSE Metrics Collector must be enabled.
Then, you can do the following:
-
Use the
dsetool insights_configcommand to enable, disable, and configure the DSE Metrics Collector. You don’t need to restart DSE after changing configuration with thedsetool insights_configcommand. -
Configure the data and log directories for DSE Metrics Collector.
-
To filter metrics that you don’t want to monitor, see
dsetool insights_filters.
RBAC requirements for driver metrics
If role-based access control (RBAC) is enabled and you want to report Cassandra driver metrics, 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;
For more information, see Authorizing remote procedure calls (RPC) for DSE.