|
@@ -146,6 +146,31 @@
|
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
|
<version>1.70</version>
|
|
|
</dependency>
|
|
|
+
|
|
|
+ <!-- spring-boot-actuator依赖,监控系统健康情况的工具 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- prometheus依赖 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.micrometer</groupId>
|
|
|
+ <artifactId>micrometer-registry-prometheus</artifactId>
|
|
|
+ <version>1.6.12</version>
|
|
|
+ </dependency>
|
|
|
+ <!--micrometer核心包, 按需引入, 使用Meter注解或手动埋点时需要-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.micrometer</groupId>
|
|
|
+ <artifactId>micrometer-core</artifactId>
|
|
|
+ <version>1.6.12</version>
|
|
|
+ </dependency>
|
|
|
+ <!--micrometer获取JVM相关信息, 并展示在Grafana上, 按需引入-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.github.mweirauch</groupId>
|
|
|
+ <artifactId>micrometer-jvm-extras</artifactId>
|
|
|
+ <version>0.2.2</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|