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

  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 (RPC) for DSE (6.8 | 6.7 | 6.0 | 5.1) for more information.


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.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com