【新增】集成 Prometheus 监控点

This commit is contained in:
YunaiV
2022-06-25 15:05:57 +08:00
parent cca8375a97
commit 4dfa816a5a
3 changed files with 35 additions and 1 deletions

View File

@ -58,6 +58,12 @@
<artifactId>apm-toolkit-opentracing</artifactId>
</dependency>
<!-- Micrometer 对 Prometheus 的支持 -->
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-client</artifactId> <!-- 实现 Spring Boot Admin Server 服务端 -->