杂谈
How Config Microservice Metrics for Monitor How Config Microservice Metrics for Monitor
本文重点在于讲述如何通过配置Springboot服务和Nginx服务暴露其Metric监控数据接口,以供Prometheus调用消费。
2021-08-27
} if (start === 0) { end = 100; } if (end > content.length) { end = content.length; } var match_content = content.substr(start, end); // highlight all keywords keywords.forEach(function (keyword) { var regS = new RegExp(keyword, "gi"); match_content = match_content.replace(regS, "" + keyword + ""); }); str += "

" + match_content + "...

" } str += ""; } }); str += ""; $resultContent.innerHTML = str; }); } }); }; searchFunc('/search.xml', 'searchInput', 'searchResult'); });