Usage Guide

Assume that the metric collection system is running properly and the configuration file directory confpath has been initialized. You can run the following command to implement this feature:

For a metric, analyze the correlation between other metrics and the data of the metric from timestamps1 to timestamps2 on a specific node.

gs_dbmind component anomaly_analysis --conf confpath --metric metric_name --start-time timestamps1 --end-time timestamps2 --host ip_address

For a metric, analyze the correlation between other metrics and the metric data from timestamps1 to timestamps2 on a specific node, and save the analysis result as a CSV file.

gs_dbmind component anomaly_analysis --conf confpath --metric metric_name --start-time timestamps1 --end-time timestamps2 --host ip_address --csv-dump-path csv_path

NOTE: When setting anomaly_analysis parameters, ensure that start-time is at least 30 seconds earlier than end-time.

Feedback
编组 3备份
    openGauss 2024-11-22 00:52:56
    cancel