跳转到主要内容

监控

准备工作

安装prometheus

配置prometheus

在scrape_configs节点下新增WuKongIM的监控项目 job_name: 唯一job名字 targets: 为WuKongIM的内网ip + 5300端口 labels: id为WuKongIM的nodeId
xx.xx.xx.xx 替换为WuKongIM的内网ip地址 xxxx 替换为WuKongIM的nodeId

配置WuKongIM

在各节点的wk.yaml文件中配置prometheus的地址
xx.xx.xx.xx替换为prometheus的内网ip地址