|
@@ -39,7 +39,29 @@
|
|
|
<!--<groupId>org.springframework.cloud</groupId>-->
|
|
|
<!--<artifactId>spring-cloud-starter-consul-discovery</artifactId>-->
|
|
|
<!--</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>
|
|
|
|
|
|
<!-- SpringBoot系统健康情况监控工具 -->
|
|
|
<dependency>
|