openGauss Forecast-趋势预测获取帮助
【代码】openGauss Forecast-趋势预测获取帮助。
·
获取帮助
模块命令行说明:
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 Set a host you want to retrieve. IP only or IP with
port.
--labels LABELS A list of label (format is label=name) separated by
comma(,). Using in warning.
--start-time TIMESTAMP_IN_MICROSECONDS
Set a start time for retrieving, supporting UNIX-
timestamp with microsecond or datetime format
--end-time TIMESTAMP_IN_MICROSECONDS
Set an end time for retrieving, supporting UNIX-
timestamp with microsecond or datetime format
--retention-days DAYS
Clear historical diagnosis results and set the maximum
number of days to retain data
--upper UPPER The upper value of early-warning. Using in warning.
--lower LOWER The lower value of early-warning. Using in warning.
--warning-hours WARNING-HOURS
warning length, unit is hour.
--csv-dump-path CSV_DUMP_PATH
Dump the result CSV file to the path if it is
specified. Use in warning.
鲲鹏昇腾开发者社区是面向全社会开放的“联接全球计算开发者,聚合华为+生态”的社区,内容涵盖鲲鹏、昇腾资源,帮助开发者快速获取所需的知识、经验、软件、工具、算力,支撑开发者易学、好用、成功,成为核心开发者。
更多推荐

所有评论(0)