Prometheus 接入SpringBoot微服务监控
系列文章目录
- Prometheus 的安装部署
- Grafana的安装部署
- Linux服务器接入Prometheus监控-Node Exporter 安装指南
- Prometheus 接入SpringBoot微服务监控
- Mysql 接入 Prometheus
- RocketMQ 接入Prometheus 监控
- ElasticSearch 接入 Prometheus
- Nacos 接入 Prometheus 监控
- Redis 接入 Prometheus 监控系统
- Prometheus + Grafana 监控系统-告警规则配置
- Prometheus + Grafana 监控系统-PrometheusAlert安装与配置指南
注意:
-
如果你的项目是SpringBoot 2.x 以上,那么建议基于 SpringBoot 2.x Actuator + Micrometer 来实现监控
-
如果你的项目是SpringBoot 1.x 以下, 那么建议使用 dropwizard.metrics 来实现
SpringBoot Actuator 2.x + Micrometer 实现接入Prometheus 监控
- 适用于SpringBoot 2.x 以上的项目
-
pom.xml
Springboot 暴露指标数据给 prometheus :
添加 micrometer-registry-prometheus 依赖,使用 Micrometer 作为你的度量库<dependency> <groupId>org.springframework.boot</groupId>

最低0.47元/天 解锁文章
4723

被折叠的 条评论
为什么被折叠?



