Enabling and disabling DSE Metrics Collector

DSE Metrics Collector aggregates and collects metrics in a meaningful way to provide fast, accurate problem resolution that system administrators and DataStax Support can use to troubleshoot problems.

Enabling DSE Metrics Collector

DSE Metrics Collector must be enabled to aggregate and collect metrics.

DSE Metrics Collector is enabled by default in DSE 6.7.

Procedure

  1. To view the current configuration:

    dsetool insights_config --show_config

    The results of the default configuration show that the DSE Metrics Collector is enabled with local storage:

    {
      "mode" : "ENABLED_WITH_LOCAL_STORAGE",
      "config_refresh_interval_in_seconds" : 30,
      "metric_sampling_interval_in_seconds" : 30,
      "data_dir_max_size_in_mb" : 1024,
      "node_system_info_report_period" : "PT1H"
    }
  2. If the current configuration is disabled, use the dsetool insights_config command to change the mode.

    • To enable metrics collection with local storage:

      dsetool insights_config --mode ENABLED_WITH_LOCAL_STORAGE
    • To enable metrics collection for reporting to a real-time monitoring system:

      dsetool insights_config --mode ENABLED_NO_STORAGE

Results

DSE Metrics Collector is enabled. Restarting DSE is not required. The configuration mode persists after DSE is restarted. See Configuring the data and log directories for DSE Metrics Collector.

Disabling DSE Metrics Collector

Procedure

  1. To view the current configuration:

    dsetool insights_config --show_config

    For example, the default mode results show that DSE Metrics Collector is enabled with local storage:

    {
      "mode" : "ENABLED_WITH_LOCAL_STORAGE",
      "config_refresh_interval_in_seconds" : 30,
      "metric_sampling_interval_in_seconds" : 30,
      "data_dir_max_size_in_mb" : 1024,
      "node_system_info_report_period" : "PT1H"
    }
  2. To disable the DSE Metrics Collector, use the dsetool insights_config command to change the mode.

    dsetool insights_config --mode DISABLED
  3. To view the current configuration:

    dsetool insights_config --show_config

    When disabled, the results show that DSE Metrics Collector is disabled:

    {
      "mode" : "DISABLED",
      "config_refresh_interval_in_seconds" : 30,
      "metric_sampling_interval_in_seconds" : 30,
      "data_dir_max_size_in_mb" : 1024,
      "node_system_info_report_period" : "PT1H"
    }

Results

DSE Metrics Collector is disabled. Restarting DSE is not required. The configuration mode persists after DSE is restarted.

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