Command Reference
Table 1 Parameters of the gs_dbmind component forecast command line
Parameter | Description | Value Range |
---|
-h, --help | Help command. | - |
action | Action parameter. | - show: displays results.
- clean: clears results.
- early-warning: reports alarms.
|
-c,--conf | Configuration directory. | - |
--metric-name | Name of the metric to be displayed, which is used for filtering. | - |
--host | Service IP address and port number for filtering. | - |
--labels | Labels used by alarm information. The format is key-value pairs, which are separated by commas (,). | - |
--start-time | Timestamp of the start time, in milliseconds. Alternatively, the date and time format is %Y-%m-%d %H:%M:%S. | Positive integer or date and time format. |
--end-time | Timestamp of the start time, in milliseconds. Alternatively, the date and time format is %Y-%m-%d %H:%M:%S. | Positive integer or date and time format. |
--retention-days | Number of days for storing results. | Non-negative real number. |
--upper | Upper limit of the alarm threshold. | Real number. |
--lower | Lower limit of the alarm threshold. | Real number. |
--warning-hours | Time range of the predicted value alarm (unit: hour). | Positive integer. |
--csv-dump-path | Path of the exported CSV file. | - |
openGauss 2024-05-07 00:46:52