xiaoyao wanjunlei 老师请教个问题我使用kubesphere可插拔安装grafana,使用kubesphere中的prometheus,发现grafana中没有数据显示,我查看了定义的变量,如我定义个变量,label_values(node_uname_info,job),发现获取不到job值请问这个是什么情况呢?是不是需要修改下node_uname_info这个指标呢?
jjluUp @wanjunlei 我这边也遇到类似的情况,调用http://notification-manager-svc.kubesphere-monitoring-system.svc:19093/api/v2/alerts可以返回成功,但是企业微信收不到告警,nm使用的是1.0.0版本;
wanjunlei 如果配置有问题会报错的,从日志看notification-manager收到了告警消息,但是没有找到receiver,你重启下notification-manager-deployment试试,同时确认一下buying-center用户是否加入了buying-center 项目
wanjunlei spec: wechat: wechatApiSecret: key: wechat name: wechat-api-secret namespace: kubesphere-monitoring-system 把namespace加上
wanjunlei https://kubesphere.com.cn/docs/cluster-administration/cluster-wide-alerting-and-notification/alerting-policy/ 你可以看下这个