apache / hertzbeat

Apache HertzBeat(incubating) is a real-time monitoring system with agentless, performance cluster, prometheus-compatible, custom monitoring and status page building capabilities.
https://hertzbeat.apache.org/
Apache License 2.0
5.78k stars 1k forks source link

[Question] Custom template, unable to dynamically pass parameters #1525

Open yuanmingcong opened 10 months ago

yuanmingcong commented 10 months ago

Question

自定义模版,无法动态的传递参数,例如http请求,上送的payload,无法动态的获取当前时间和一些函数,建议在参数模块和metrics模块新增calculates,进行Google Aviator语法操作

hertzbeat commented 10 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Question

Custom templates cannot dynamically pass parameters, such as http requests, submitted payloads, and cannot dynamically obtain the current time and some functions. It is recommended to add calculates in the parameter module and metrics module to perform Google Aviator syntax operations @@=== =[Question] Customized template, parameters cannot be passed dynamically </p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>