获取帮助
模块命令行说明:
gs_dbmind component forecast --help
usage: forecast.py [-h] -c DIRECTORY [--metric-name METRIC_NAME] [--host HOST]
[--labels LABELS] [--start-time TIMESTAMP_IN_MICROSECONDS]
[--end-time TIMESTAMP_IN_MICROSECONDS]
[--retention-days DAYS] [--upper UPPER] [--lower LOWER]
[--warning-hours WARNING-HOURS]
[--csv-dump-path CSV_DUMP_PATH]
{show,clean,early-warning}
Workload Forecasting: Forecast monitoring metrics
positional arguments:
{show,clean,early-warning}
Choose a functionality to perform
optional arguments:
-h, --help show this help message and exit
-c DIRECTORY, --conf DIRECTORY
Set the directory of configuration files
--metric-name METRIC_NAME
Set a metric name you want to retrieve
--host HOST