监控
const伐伐
这个作者很懒,什么都没留下…
展开
-
spring boot2.x暴露监控endpoint并配置prometheus及grafana对多个targets进行监控
1. build.gradle中添加依赖 compile group: 'org.springframework.boot', name: 'spring-boot-starter-actuator' compile group: 'org.springframework.boot', name: 'spring-boot-starter-security' compile('io.mi...原创 2019-07-25 08:31:10 · 4371 阅读 · 0 评论 -
使用prometheus及grafana监控spring boot 1.x应用程序
背景:spring boot 1.x 程序,构建工具gradle 需求:希望能够监控其metrics(包括tomcat相关信息) 方法: 1. build.gradle中添加依赖 compile group: 'org.springframework.boot', name: 'spring-boot-starter-actuator' compile group: 'org.s...原创 2019-07-23 10:26:39 · 1661 阅读 · 1 评论