Spring Boot 集成 Prometheus

Prometheus是一个根据应用的metrics来进行监控的开源工具。其原理使用主动采集服务暴露的指标接口的方式拉取指标数据,因此须要给须要被监控的服务暴露数据指标接口,对于SpringBoot服务,集成起来很是简单,以下:web 1、为pom添加依赖spring <!-- prometheus --> <dependency> <groupId>org.springframework
相关文章
相关标签/搜索