[I] [Question] 使用promql执行报错 [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:20251018" rel="nofollow">Sat, 18 Oct 2025 11:37:42 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre> qimy1314524 opened a new issue, #3818: URL: <a rel="nofollow" href="https://github.com/apache/hertzbeat/issues/3818">https://github.com/apache/hertzbeat/issues/3818</a></pre><pre> ### Question 当使用promql的时候 稍微复杂一点的sql就报错或者不返回 1. 简单函数: 执行是成功的 <img width="930" height="422" alt="Image" src="<a rel="nofollow" href="https://github.com/user-attachments/assets/4a277a3d-62ec-4dac-bf1c-0f5ed2518056"">https://github.com/user-attachments/assets/4a277a3d-62ec-4dac-bf1c-0f5ed2518056"</a>; /> 2. 加上多个参数就报错 <img width="985" height="378" alt="Image" src="<a rel="nofollow" href="https://github.com/user-attachments/assets/980aa61e-4aa8-4ab2-84f1-204e7552e582"">https://github.com/user-attachments/assets/980aa61e-4aa8-4ab2-84f1-204e7552e582"</a>; /> 3. 在 VictoriaMetrics中执行成功 <img width="1523" height="559" alt="Image" src="<a rel="nofollow" href="https://github.com/user-attachments/assets/81a97121-87ff-40e5-a129-da3a26b9c5b4"">https://github.com/user-attachments/assets/81a97121-87ff-40e5-a129-da3a26b9c5b4"</a>; /> 4. 在页面配置后返回null <img width="1240" height="646" alt="Image" src="<a rel="nofollow" href="https://github.com/user-attachments/assets/461d78fa-4397-494a-b362-bcc578475cac"">https://github.com/user-attachments/assets/461d78fa-4397-494a-b362-bcc578475cac"</a>; /> -- 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.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="msg13774.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#13775">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#13775">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg13741.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email tSliceCur"><span class="subject">[I] [Question] <title>使用promql执行报错 [hertzbeat]</span> <span class="sender italic">via GitHub</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg13741.html">Re: [I] [Question] <title>使用promql执行报错 [hertzbeat]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg13766.html">Re: [I] [Question] <title>使用promql执行报错 [hertzbeat]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg13785.html">Re: [I] [Question] <title>使用promql执行报错 [hertzbeat]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg13795.html">Re: [I] [Question] <title>使用promql执行报错 [hertzbeat]</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="[I] [Question] <title>使用promql执行报错 [hertzbeat]"> <input type="hidden" name="msgid" value="I_kwDOGyeqAs7RqITj@gitbox.apache.org"> <input type="hidden" name="relpath" value="notifications@hertzbeat.apache.org/msg13775.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:%22%5C%5BI%5C%5D+%5C%5BQuestion%5C%5D+%3Ctitle%3E%E4%BD%BF%E7%94%A8promql%E6%89%A7%E8%A1%8C%E6%8A%A5%E9%94%99+%5C%5Bhertzbeat%5C%5D%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg13774.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg13741.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_kwDOGyeqAs7RqITj@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:'9ea5c0c19c82ecfa',t:'MTc3NTg2NjA2Ng=='};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>