Skip to content

Commit

Permalink
Merge pull request #20 from chris-sun-star/log_alarm_doc
Browse files Browse the repository at this point in the history
add ob log and mysql related kv config
  • Loading branch information
chris-sun-star authored Dec 30, 2021
2 parents adb8d7d + bdf3b08 commit 1fd9217
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion docs/config-reference/kv-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
## 配置模版
Expand Down

0 comments on commit 1fd9217

Please sign in to comment.