Change test project configuration

pull/1165/head
chen.ma 1 year ago
parent 27b4c9e3ca
commit 0838f75702

@ -47,6 +47,19 @@
<artifactId>hippo4j-example-core</artifactId>
<version>${revision}</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>
<dependency>
<groupId>cn.hippo4j</groupId>
<artifactId>hippo4j-spring-boot-starter-monitor-micrometer</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
<build>

@ -8,6 +8,17 @@ spring.dynamic.thread-pool.item-id=dynamic-threadpool-example
spring.dynamic.thread-pool.username=admin
spring.dynamic.thread-pool.password=123456
# Enable server and micrometer monitoring at the same time
spring.dynamic.thread-pool.monitor.enable=true
spring.dynamic.thread-pool.monitor.collect-types=server,micrometer
spring.dynamic.thread-pool.monitor.thread-pool-types=dynamic,adapter
spring.dynamic.thread-pool.monitor.initial-delay=10000
spring.dynamic.thread-pool.monitor.collect-interval=5000
management.metrics.export.prometheus.enabled=true
management.server.port=29901
management.endpoints.web.exposure.include=*
# Please replace the local configuration.
spring.cloud.stream.rocketmq.binder.name-server=127.0.0.1:9876

Loading…
Cancel
Save