Skip to main content

监控

准备工作

安装prometheus

配置prometheus

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

配置WuKongIM

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