Re: [I] [BUG] use jsonpath parse k8s api reponse error [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:20250420" rel="nofollow">Sun, 20 Apr 2025 23:01:51 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre> juanmaocxy commented on issue #3260: URL: <a rel="nofollow" href="https://github.com/apache/hertzbeat/issues/3260#issuecomment-2817708101">https://github.com/apache/hertzbeat/issues/3260#issuecomment-2817708101</a></pre><pre> here is one part of my minitor yaml: - name: pods priority: 2 fields: - field: pod type: 1 i18n: zh-CN: Pod名称 en-US: Pod Name - field: namespace type: 1 i18n: zh-CN: 命名空间 en-US: Namespace - field: status type: 1 i18n: zh-CN: 状态 en-US: Status - field: restart type: 1 i18n: zh-CN: 重启策略 en-US: Restart - field: restart_count type: 1 i18n: zh-CN: 重启次数 en-US: Restart Count - field: host_ip type: 1 i18n: zh-CN: 主机IP en-US: Host IP - field: pod_ip type: 1 i18n: zh-CN: Pod IP en-US: Pod IP - field: creation_time type: 1 i18n: zh-CN: 创建时间 en-US: Creation Time - field: start_time type: 1 i18n: zh-CN: 启动时间 en-US: Start Time aliasFields: - $.metadata.name - $.metadata.namespace - $.status.phase - $.spec.restartPolicy - $.status.hostIP - $.status.podIP - $.metadata.creationTimestamp - $.status.startTime - $.status.containerStatuses[0].restartCount calculates: - pod=$.metadata.name - namespace=$.metadata.namespace - status=$.status.phase - restart=$.spec.restartPolicy - host_ip=$.status.hostIP - pod_ip=$.status.podIP - creation_time=$.metadata.creationTimestamp - start_time=$.status.startTime - restart_count=$.status.containerStatuses[0].restartCount -- 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="msg09677.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="thrd2.html#09696">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="mail2.html#09696">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg09697.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="msg09635.html">[I] [BUG] <title>use jsonpath parse k8s api reponse error...</a></span> <span class="sender italic">via GitHub</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg09677.html">Re: [I] [BUG] <title>use jsonpath parse k8s api repo...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email tSliceCur"><span class="subject">Re: [I] [BUG] <title>use jsonpath parse k8s api repo...</span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg09697.html">Re: [I] [BUG] <title>use jsonpath parse k8s api repo...</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>use jsonpath parse k8s api reponse error [hertzbeat]"> <input type="hidden" name="msgid" value="I_kwDOGyeqAs6zDBBI-7721b81d-92ca-47c2-9ed2-746f367616cd@gitbox.apache.org"> <input type="hidden" name="relpath" value="notifications@hertzbeat.apache.org/msg09696.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%3Euse+jsonpath+parse+k8s+api+reponse+error+%5C%5Bhertzbeat%5C%5D%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg09677.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg09697.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_kwDOGyeqAs6zDBBI-7721b81d-92ca-47c2-9ed2-746f367616cd@gitbox.apache.org</li> </ul> </div> </body> </html>