Enabling and disabling DSE Metrics Collector

Steps to enable and disable DSE Metrics Collector.

Enable DSE Metrics Collector to aggregate and collect 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

Steps to enable DSE Metrics Collector.

Enable DSE Metrics Collector to aggregate and collect metrics.

DSE Metrics Collector is disabled by default.

Prerequisites

DSE 6.0.5 or later is required.

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 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"
    }
  2. To enable the DSE Metrics Collector, 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
  3. To view the current configuration:
    dsetool insights_config --show_config
    For example, these results 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"
    }

Results

DSE Metrics Collector is enabled.

Disabling DSE Metrics Collector

Steps to disable DSE Metrics Collector.

  1. To view the current configuration:
    dsetool insights_config --show_config
    When enabled, the 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

Results

DSE Metrics Collector is disabled.