Dynamic thread pool access Prometheus monitoring, add test cases (#96)

pull/160/head
chen.ma 2 years ago
parent d189b28210
commit 3714b84e1e

@ -49,6 +49,16 @@
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
<version>2.2.5.RELEASE</version>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
</dependencies>
</project>

@ -3,6 +3,18 @@ server:
servlet:
context-path: /example
management:
metrics:
export:
prometheus:
enabled: true
server:
port: 29999
endpoints:
web:
exposure:
include: '*'
spring:
profiles:
active: dev

Loading…
Cancel
Save