Command Reference
Table 1 Command-line parameters
Parameter | Description | Value Range |
---|
mode | Specified running mode | start, stop, forecast, show_metrics, deploy, and diagnosis |
--user | Remote server user | N/A |
--host | IP address of the remote server | N/A |
--project-path | Path of the anomaly_detection project on the remote server | N/A |
--role | Start role | agent, collector, and monitor |
--metric-name | Metric name | N/A |
--query | Root cause analysis target query | N/A |
--start_time | Time when the query starts | N/A |
--finish_time | Time when the query ends | N/A |
--forecast-periods | Forecast period | The value is an integer. The specific value depends on the training data. If this parameter is not provided, the default value 100S is used. |
--freq FREQ | Prediction interval | The time unit can be S (second), M (minute), H (hour), D (day), and W (week). |
--forecast-method | Forecast method | auto_arima and fbprophet |
--save-path | Path for storing the forecast result | N/A |
--version, -v | Current tool version | N/A |
openGauss 2024-05-19 00:45:18