![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
k8s
文章平均质量分 67
陈煦源
一个热爱java开发的
展开
-
如何使用Prometheus采集应用自定义指标
前言之前介绍过使用springboot整合Prometheus采集应用自定义指标的方法,但这种方式需要引入actuator。如果有些项目因为安全考虑没有引入actuator或者压根就没有用springboot,那应该如何做呢?下面就来介绍一下。1.引入Prometheus 依赖 compile "io.prometheus:simpleclient_hotspot:0.0.24" compile "io.micrometer:micrometer-registry-prometh原创 2022-03-12 11:09:12 · 3222 阅读 · 0 评论 -
如何使用spring boot整合Prometheus采集自定义指标
1.springbot 1.5整合Promethus,并自定义指标加入依赖compile "io.prometheus:simpleclient_hotspot:0.0.24"compile "io.micrometer:micrometer-registry-prometheus:1.0.5"compile "io.micrometer:micrometer-spring-legacy:1.0.5"原创 2022-03-12 10:34:02 · 3299 阅读 · 1 评论