• Glossary
  • Support
  • Downloads
  • DataStax Home
Get Live Help
Expand All
Collapse All

DataStax Monitoring Guide

    • Monitoring a DSE cluster
    • Using DSE Metrics Collector
      • Configure DSE Metrics Collector
        • insights_config
        • insights_filters
      • Enabling and disabling DSE Metrics Collector
        • Enabling DSE Metrics Collector
        • Disabling DSE Metrics Collector
      • Configuring DSE Metrics Collector
        • Examples
        • Configuring data and log directories
        • Filtering metrics
      • Exporting metrics
        • Exporting metrics using Docker
        • Exporting with existing Prometheus server
          • Creating a Grafana dashboard
    • Using OpsCenter
    • Getting statistics and metrics
    • Metrics reference
      • Drivers metrics
      • DSE cluster metrics
        • Table statistics
        • Thread pool and read/write latency statistics
        • Compaction metrics
        • Endpoint metrics MBean
        • NodeSync metric MBeans
        • NodeSync Service MBean
      • DSE Analytics cluster metrics
      • DSE Search cluster metrics
        • Using MBeans to evaluate DSE Search performance
          • MBeans search demo
        • Commit metrics MBean
        • EndpointStateTracker MBean
        • IndexPool MBean
        • Merge metrics MBean
        • Query metrics MBean
        • Reindex metrics MBean
        • ShardRouter MBean
        • Solr MBeans
        • Update metrics MBean
      • DSE Graph cluster metrics
      • OpsCenter Dashboard metrics
  • DataStax Monitoring Guide
  • Using DSE Metrics Collector
  • Enabling and disabling DSE Metrics Collector

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.

insights_filters Configuring DSE Metrics Collector

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

© DataStax | Privacy policy | Terms of use

DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.

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.

landing_page landingpage