Develop 3921 (#446)

* Spotless add skip condition

* Optimize notification and alarm text reading

* delete meaningless blank lines

* hippo4j springboot starter adds prometheus monitoring
pull/450/head
小马哥 2 years ago committed by GitHub
parent 2a9f94cd35
commit 25aed76dbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -26,6 +26,16 @@
<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>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>

@ -2,14 +2,21 @@ server.port=8088
server.servlet.context-path=/example
management.metrics.export.prometheus.enabled=true
management.server.port=29901
management.endpoints.web.exposure.include=*
spring.profiles.active=dev
spring.application.name=dynamic-threadpool-example
spring.dynamic.thread-pool.server-addr=http://localhost:6691
spring.dynamic.thread-pool.netty-server-port=8899
### Use netty to report thread pool monitoring data. The default is http.
# spring.dynamic.thread-pool.report-type=netty
# spring.dynamic.thread-pool.netty-server-port=8899
spring.dynamic.thread-pool.namespace=prescription
spring.dynamic.thread-pool.item-id=dynamic-threadpool-example
spring.dynamic.thread-pool.username=admin
spring.dynamic.thread-pool.password=123456
# Enable server and prometheus monitoring at the same time
spring.dynamic.thread-pool.collect-type=server,prometheus

Loading…
Cancel
Save