首页  

springboot2 集成 prometheus     所属分类 springboot 浏览量 607
开启 actuator
引入依赖 org.springframework.boot:spring-boot-starter-actuator

暴露 prometheus 指标抓取接口
增加依赖 io.micrometer:micrometer-registry-prometheus

 
management.endpoints.jmx.exposure.include=beans,conditions,env,loggers,mappings
management.endpoints.web.exposure.include=beans,conditions,env,loggers,mappings,prometheus
management.endpoints.web.exposure.include=*
http://127.0.0.1:8088/api/actuator
http://127.0.0.1:8088/api/actuator/prometheus



springboot2 actuator 使用 Springboot监控端点Actuator实例

上一篇     下一篇
javascript json 格式化

苏轼与王安石

Springboot devtools 简介

springboot 加载指定的 properties文件

Java8 Stream过滤null值

string format几种方式