获取帮助

模块命令行说明:

  1. gs_dbmind component anomaly_detection --help

显示如下帮助信息:

  1. usage: anomaly_analysis.py [-h] -c CONF -m METRIC -s START_TIME -e END_TIME -H
  2. HOST [--csv-dump-path CSV_DUMP_PATH]
  3. Workload Anomaly analysis: Anomaly analysis of monitored metric.
  4. optional arguments:
  5. -h, --help show this help message and exit
  6. -c CONF, --conf CONF set the directory of configuration files
  7. -m METRIC, --metric METRIC
  8. set the metric name you want to retrieve
  9. -s START_TIME, --start-time START_TIME
  10. set the start time of for retrieving in ms, supporting
  11. UNIX-timestamp with microsecond or datetime format
  12. -e END_TIME, --end-time END_TIME
  13. set the end time of for retrieving in ms, supporting
  14. UNIX-timestamp with microsecond or datetime format
  15. -H HOST, --host HOST set a host of the metric, ip only or ip and port.
  16. --csv-dump-path CSV_DUMP_PATH
  17. dump the result csv file to the dump path if it is
  18. specified.