获取帮助

模块命令行说明:

  1. gs_dbmind component anomaly_detection --help

显示如下帮助信息:

  1. usage: anomaly_detection.py [-h] --action {overview,plot} -c CONF -m METRIC -s
  2. START_TIME -e END_TIME [-H HOST] [-a ANOMALY]
  3. Workload Anomaly detection: Anomaly detection of monitored metric.
  4. optional arguments:
  5. -h, --help show this help message and exit
  6. --action {overview,plot}
  7. choose a functionality to perform
  8. -c CONF, --conf CONF set the directory of configuration files
  9. -m METRIC, --metric METRIC
  10. set the metric name you want to retrieve
  11. -s START_TIME, --start-time START_TIME
  12. set the start time of for retrieving in ms
  13. -e END_TIME, --end-time END_TIME
  14. set the end time of for retrieving in ms
  15. -H HOST, --host HOST set a host of the metric, ip only or ip and port.
  16. -a ANOMALY, --anomaly ANOMALY
  17. set a anomaly detector of the metric(increase_rate,
  18. level_shift, spike, threshold)
  19. Process finished with exit code 0