kafka目前运行正常,只是有分区不满足3告警,昨天调整了告警策略名称,保存啦,但是发现还是告警出来使用的之前策略名称,大佬帮看下吧,谢谢
系统日志显示
2023-08-10 19:59:00.830011 DEBUG process/process.go:288 rule_eval:alert-1-44 event:&{Id:0 Cate:prometheus Cluster:prometheus DatasourceId:1 GroupId:6 GroupName:kafka 主机组 Hash:8c566fab0fb812c8f72020e6111a9298 RuleId:44 RuleName:Risk of data loss - number of replicas less than 3 - exporter RuleNote: RuleProd:metric RuleAlgo: Severity:2 PromForDuration:120 PromQl: RuleConfig:{"inhibit":false,"queries":[{"prom_ql":"sum(kafka_topic_partition_in_sync_replica) by (topic) \u003c 3 ","severity":2}]} RuleConfigJson:map[inhibit:false queries:[map[prom_ql:sum(kafka_topic_partition_in_sync_replica) by (topic) < 3 severity:2]]] PromEvalInterval:30 Callbacks: CallbacksJSON:[] RunbookUrl: NotifyRecovered:1 NotifyChannels:wecom NotifyChannelsJSON:[wecom] NotifyGroups:1 NotifyGroupsJSON:[1] NotifyGroupsObj:[] TargetIdent: TargetNote: TriggerTime:1691668740 TriggerValue:1 Tags:rulename=Risk of data loss - number of replicas less than 3 - exporter,,service=kafka,,topic=carStatus TagsJSON:[rulename=Risk of data loss - number of replicas less than 3 - exporter service=kafka topic=carStatus] TagsMap:map[rulename:Risk of data loss - number of replicas less than 3 - exporter service:kafka topic:carStatus] Annotations:{} AnnotationsJSON:map[] IsRecovered:false NotifyUsersObj:[] LastEvalTime:1691668740 LastSentTime:0 NotifyCurNumber:0 FirstTriggerTime:0} fire