component子命令

该子命令可以用于启动DBMind的组件,包括可用于监控指标的exporter,以及AI功能等。该命令可以将用户通过命令行传入的命令转发给对应的子组件,故不同的子组件命令需参考其功能的对应说明,详见后文各个子组件对应章节,此处不再赘述。

命令参考

用户可以通过 --help 选项获得该模式的帮助信息,例如:

gs_dbmind component --help
usage:  component [-h] COMPONENT_NAME ...

positional arguments:
  COMPONENT_NAME  choice a component to start. ['extract_log', 'forecast', 'index_advisor', 'opengauss_exporter', 'reprocessing_exporter', 'slow_query_diagnosis', 'sqldiag', 'xtuner']
  ARGS            arguments for the component to start

optional arguments:
  -h, --help      show this help message and exit

表 1 gs_dbmind component 子命令说明

参数

参数说明

取值范围

COMPONENT_NAME

子组件名

extract_log, forecast, index_advisor, opengauss_exporter, reprocessing_exporter, slow_query_diagnosis, sqldiag, xtuner

ARGS

子组件的参数

参考子组件的命令说明

-h, --help

帮助命令

-

意见反馈
编组 3备份
openGauss 2024-03-19 00:49:40
取消