diff --git a/docs/config-reference/kv-config.md b/docs/config-reference/kv-config.md index 45df5e5ef614b3726bd94f256c72b887324021e7..381cc523527c2104eeb27da2c0c0fadce7bbb97c 100644 --- a/docs/config-reference/kv-config.md +++ b/docs/config-reference/kv-config.md @@ -29,38 +29,80 @@ configs: # monagent_pipeline.yaml configVersion: "2021-08-20T07:52:28.5443+08:00" configs: + # mysql 监控用户 + - key: monagent.mysql.monitor.user + value: mysql_monitor_user + valueType: string + # mysql 监控用户密码 + - key: monagent.mysql.monitor.password + value: mysql_monitor_password + valueType: string + encrypted: true + # mysql sql 端口 + - key: monagent.mysql.sql.port + value: 3306 + valueType: int64 + # mysql 地址 + - key: monagent.mysql.host + value: 127.0.0.1 + valueType: string + # ob 监控用户 - key: monagent.ob.monitor.user value: {monitor_user} valueType: string + # ob 监控用户密码 - key: monagent.ob.monitor.password value: {monitor_password} valueType: string encrypted: true + # ob sql 端口 - key: monagent.ob.sql.port value: {sql_port} valueType: int64 + # ob rpc 端口 - key: monagent.ob.rpc.port value: {rpc_port} valueType: int64 + # ob 安装路径 + - key: monagent.ob.install.path + value: {ob_install_path} + valueType: string + # 主机 ip - key: monagent.host.ip value: {host_ip} valueType: string + # ob 集群名 - key: monagent.ob.cluster.name value: {cluster_name} valueType: string + # ob 集群 id - key: monagent.ob.cluster.id value: {cluster_id} valueType: int64 + # ob zone 名字 - key: monagent.ob.zone.name value: {zone_name} valueType: string + # ob 流水线开启状态 - key: monagent.pipeline.ob.status value: {ob_monitor_status} valueType: string + # ob log 流水线开启状态 + - key: monagent.pipeline.ob.log.status + value: {ob_log_monitor_status} + valueType: string + # 主机流水线开启状态 - key: monagent.pipeline.node.status value: {host_monitor_status} valueType: string - + # alertmanager 地址 + - key: monagent.alertmanager.address + value: {alertmanager_address} + valueType: string + # mysql 流水线开启状态 + - key: monagent.pipeline.mysql.status + value: inactive + valueType: string ``` ## 配置模版