Re: [I] [BUG] 对K8S的nodes、namespaces、pods、services告警产生的BUG [hertzbeat]</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=notifications@hertzbeat.apache.org&q=from:%22via+GitHub%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">via GitHub</span></span></a></span> <span class="date"><a href="/search?l=notifications@hertzbeat.apache.org&q=date:20251017" rel="nofollow">Fri, 17 Oct 2025 01:23:55 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre> Duansg commented on issue #3784: URL: <a rel="nofollow" href="https://github.com/apache/hertzbeat/issues/3784#issuecomment-3392972912">https://github.com/apache/hertzbeat/issues/3784#issuecomment-3392972912</a></pre><pre> > > > > Hi, [@xiaotao112000](<a rel="nofollow" href="https://github.com/xiaotao112000">https://github.com/xiaotao112000</a>) 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](<a rel="nofollow" href="https://github.com/xiaotao112000">https://github.com/xiaotao112000</a>) 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="<a rel="nofollow" href="https://github.com/user-attachments/assets/6dfe66ae-8ad1-473c-82a2-6913ce339e73"">https://github.com/user-attachments/assets/6dfe66ae-8ad1-473c-82a2-6913ce339e73"</a>; /> > Alarms <img width="1180" height="345" alt="Image" src="<a rel="nofollow" href="https://github.com/user-attachments/assets/2fc93b38-6427-49a8-a58c-b4bd2df1fdf9"">https://github.com/user-attachments/assets/2fc93b38-6427-49a8-a58c-b4bd2df1fdf9"</a>; /> 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 </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg13569.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#13630">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#13630">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg13810.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email"><span class="subject"><a href="msg13717.html">[I] [BUG] <title>对K8S的nodes、namespaces、pods、services告警产生的...</a></span> <span class="sender italic">via GitHub</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg13526.html">Re: [I] [BUG] <title>对K8S的nodes、namespaces、pods、serv...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg13568.html">Re: [I] [BUG] <title>对K8S的nodes、namespaces、pods、serv...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg13569.html">Re: [I] [BUG] <title>对K8S的nodes、namespaces、pods、serv...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email tSliceCur"><span class="subject">Re: [I] [BUG] <title>对K8S的nodes、namespaces、pods、serv...</span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg13810.html">Re: [I] [BUG] <title>对K8S的nodes、namespaces、pods、serv...</a></span> <span class="sender italic">via GitHub</span></li> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="Re: [I] [BUG] <title>对K8S的nodes、namespaces、pods、services告警产生的BUG [hertzbeat]"> <input type="hidden" name="msgid" value="I_kwDOGyeqAs7NedUW-90370523-c7dd-426f-8801-ef93535adce1@gitbox.apache.org"> <input type="hidden" name="relpath" value="notifications@hertzbeat.apache.org/msg13630.html"> <input type="submit" value=" via GitHub "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="notifications@hertzbeat.apache.org"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search notifications"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/notifications@hertzbeat.apache.org/">notifications - all messages</a></li> <li class="icons-about"><a href="/notifications@hertzbeat.apache.org/info.html">notifications - about the list</a></li> <li class="icons-expand"><a href="/search?l=notifications@hertzbeat.apache.org&q=subject:%22Re%5C%3A+%5C%5BI%5C%5D+%5C%5BBUG%5C%5D+%3Ctitle%3E%E5%AF%B9K8S%E7%9A%84nodes%E3%80%81namespaces%E3%80%81pods%E3%80%81services%E5%91%8A%E8%AD%A6%E4%BA%A7%E7%94%9F%E7%9A%84BUG+%5C%5Bhertzbeat%5C%5D%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg13569.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg13810.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">I_kwDOGyeqAs7NedUW-90370523-c7dd-426f-8801-ef93535adce1@gitbox.apache.org</li> </ul> </div> </body> </html> <script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9eb8615d8e51aedd',t:'MTc3NjA2MTM4OA=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script>