Duansg commented on issue #3784: URL: https://github.com/apache/hertzbeat/issues/3784#issuecomment-3392972912
> > > > Hi, [@xiaotao112000](https://github.com/xiaotao112000) thank you for your question. Could you please provide the version number and confirm the status and ID of the metric data in the `Monitors` menu (you can find it in the address bar). > > > > > > > > > thanks for your answer. The version is 1.7.2. equals(instance, "554840282830848"),this ID is the Monitors ID > > > > > > [@xiaotao112000](https://github.com/xiaotao112000) Thank you for your response. What I meant was, is the metric data in the `Monitors` menu behaving normally? Is it triggering the threshold expression? You can compare the expression in the threshold against the metric data to identify which condition is causing the issue, helping us better diagnose the problem. I briefly tested it myself and was unable to reproduce the issue. > > 我这上传不了图片,只能用文字描述一下。监控指标都是正常的nodes、namespaces、pods、services都可以显示列表。但是监控以上某个列表中某条数据的情况有问题。 例如监控某个pod的名字等于指定值,不会触发告警,表达式如下:equals(**app**,"kubernetes") && equals(**metrics**,"pods") && equals(**instance**, "554840282830848") && equals(pod, "cert-manager-86996d4878-7gdnj"),这种情况不会产生告警。 但是如果把等于改成存在值就会产生告警,表达式如下:equals(**app**,"kubernetes") && equals(**metrics**,"pods") && equals(**instance**, "554840282830848") && exists(pod)。告警的结果是pods下边所有数据都产生告警,有一个pod就会产生一个告警。 Thank you for your response. I verified this in version 1.7.2 and was unable to reproduce the issue. Below is my reproduction process: > Threshold <img width="888" height="167" alt="Image" src="https://github.com/user-attachments/assets/6dfe66ae-8ad1-473c-82a2-6913ce339e73" /> > Alarms <img width="1180" height="345" alt="Image" src="https://github.com/user-attachments/assets/2fc93b38-6427-49a8-a58c-b4bd2df1fdf9" /> Does a Pod named `cert-manager-86996d4878-7gdnj` exist? Or have you modified the template? Based on your description, it seems the Pod name isn't being recognized. However, I checked your name—it's not a Jexl keyword, so it should be recognized normally. This is quite strange. Could you please review the reproduction steps I outlined above? It seems I need more information from you to determine whether this is an intermittent or consistent issue. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org For additional commands, e-mail: notifications-h...@hertzbeat.apache.org
