Re: [I] [BUG] instance why use id? [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:20251125" rel="nofollow">Tue, 25 Nov 2025 06:00:27 -0800</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre> Saramanda9988 commented on issue #3765: URL: <a rel="nofollow" href="https://github.com/apache/hertzbeat/issues/3765#issuecomment-3575796774">https://github.com/apache/hertzbeat/issues/3765#issuecomment-3575796774</a></pre><pre> Hi @tomsun28 , thanks again for your patience. Regarding duplicate monitoring: You're right that while it's technically possible to configure multiple monitors for a single instance <img width="2146" height="623" alt="Image" src="<a rel="nofollow" href="https://github.com/user-attachments/assets/686eced1-7b2a-4d13-9e04-1357fe3117ec"">https://github.com/user-attachments/assets/686eced1-7b2a-4d13-9e04-1357fe3117ec"</a>; /> <img width="1060" height="839" alt="Image" src="<a rel="nofollow" href="https://github.com/user-attachments/assets/4dd9c0f4-6519-44dd-bacf-b018fe22ce8c"">https://github.com/user-attachments/assets/4dd9c0f4-6519-44dd-bacf-b018fe22ce8c"</a>; /> It's possible to add validation rules to prevent this case, although in real-world usage I don't think users would intentionally configure it this way 😂 For now, continuing to use instance for querying historical metric data seems like the most pragmatic approach. About the label mappings, I’d like to propose the following adjustments: 1. Rename the current `instance` field (used for label strings) to `metric_labels`, which better reflects its actual meaning. The `instance` field, instead of `monitorEd`, will continue to represent the IP address and port of the monitored target. 2. Remove the label-query logic for the other five TSDB implementations. For GreptimeDB and VictoriaMetrics datasource, this label field is not used for querying anyway. 3. VictoriaMetrics datasource will no longer return the host (instance) to the frontend by `metric_labels`, matching the behavior of GreptimeDB. Also, I noticed there isn’t any configuration or documentation regarding QuestDB and TDengine in the official docs.Are we still planning to maintain compatibility with these two data sources going forward? -- 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="msg14210.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="thrd4.html#14217">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#14217">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg14220.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="msg13885.html">Re: [I] [BUG] <title>instance why use id? [hertzbeat]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg14044.html">Re: [I] [BUG] <title>instance why use id? [hertzbeat]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg14045.html">Re: [I] [BUG] <title>instance why use id? [hertzbeat]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg14059.html">Re: [I] [BUG] <title>instance why use id? [hertzbeat]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg14069.html">Re: [I] [BUG] <title>instance why use id? [hertzbeat]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg14071.html">Re: [I] [BUG] <title>instance why use id? [hertzbeat]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg14073.html">Re: [I] [BUG] <title>instance why use id? [hertzbeat]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg14196.html">Re: [I] [BUG] <title>instance why use id? [hertzbeat]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg14203.html">Re: [I] [BUG] <title>instance why use id? [hertzbeat]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg14210.html">Re: [I] [BUG] <title>instance why use id? [hertzbeat]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email tSliceCur"><span class="subject">Re: [I] [BUG] <title>instance why use id? [hertzbeat]</span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg14220.html">Re: [I] [BUG] <title>instance why use id? [hertzbeat]</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg14297.html">Re: [I] [BUG] <title>instance why use id? [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="Re: [I] [BUG] <title>instance why use id? [hertzbeat]"> <input type="hidden" name="msgid" value="I_kwDOGyeqAs7LNdbF-0af1fbf8-ba33-41a7-ab50-0d97219e02a6@gitbox.apache.org"> <input type="hidden" name="relpath" value="notifications@hertzbeat.apache.org/msg14217.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%3Einstance+why+use+id%5C%3F+%5C%5Bhertzbeat%5C%5D%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg14210.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg14220.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_kwDOGyeqAs7LNdbF-0af1fbf8-ba33-41a7-ab50-0d97219e02a6@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:'9e99cd7edc7bdafe',t:'MTc3NTc0MDc1OA=='};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>