Monitor cluster metrics with DSE Metrics Collector
In DSE 5.1.14 and later, DSE Metrics Collector can aggregate DataStax Enterprise (DSE) metrics and integrate with existing monitoring solutions to facilitate problem resolution and remediation.
Enable or disable DSE Metrics Collector
DSE Metrics Collector is disabled by default.
When enabled, DSE sends metrics and other structured events to DSE Metrics Collector.
Use dsetool insights_config to enable or disable DSE Metrics Collector.
|
Run |
Get current configuration
Get the current DSE Metrics Collector configuration:
dsetool insights_config --show_config
Enable DSE Metrics Collector
DSE Metrics Collector is disabled by default.
To aggregate and collect metrics, enable DSE Metrics Collector with dsetool insights_config:
-
Enable metrics collection with local storage:
dsetool insights_config --mode ENABLED_WITH_LOCAL_STORAGE -
Enable metrics collection for reporting to a real-time monitoring system:
dsetool insights_config --mode ENABLED_NO_STORAGE
For other options, see the command reference for dsetool insights_config.
Disable DSE Metrics Collector
DSE Metrics Collector is disabled by default.
If you previously enabled it, you can disable it with dsetool insights_config:
dsetool insights_config --mode DISABLED
Configure DSE Metrics Collector
When DSE Metrics Collector is enabled, you can set configuration options, directories, and filters:
-
Use
dsetool insights_configto set the following:-
Storage mode.
-
Frequency of metrics collection.
-
Frequency at which configuration changes are propagated to all nodes in a cluster.
-
Frequency at which node system information is collected.
-
Maximum size of the local data directory when DSE Metrics Collector is enabled with local storage.
-
-
Use
insights_optionsindse.yamlto set the directories where DSE Metrics Collector stores metrics data and logs. -
Use
dsetool insights_filtersto create filters to include or exclude metrics.
You can modify the configuration settings as needed if your monitoring requirements change, or the metrics dashboards and exports aren’t providing the necessary insight.
Export and visualize metrics
You can use built-in dashboards, or you can export aggregated metrics to external monitoring and visualization tools like Prometheus, Graphite, Splunk, and Grafana: