Commit fb8a0945 authored by lijd's avatar lijd

添加actuator依赖以及相关配置

parent a02fea24
......@@ -111,6 +111,10 @@
<artifactId>druid-spring-boot-starter</artifactId>
<version>${alibaba-druid.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
......
......@@ -66,4 +66,15 @@ mybatis-plus:
ribbon:
eager-load:
enabled: true
clients: freight-base-service,freight-bill,freight-tms-service
\ No newline at end of file
clients: freight-base-service,freight-bill,freight-tms-service
management:
endpoints:
web:
exposure:
# "*"开放所有监控端点,指定监控端点,用逗号分隔
include: health,loggers
base-path: /esvActuator
endpoint:
health:
show-details: always
\ No newline at end of file
......@@ -66,4 +66,15 @@ mybatis-plus:
ribbon:
eager-load:
enabled: true
clients: freight-base-service,freight-bill,freight-tms-service
\ No newline at end of file
clients: freight-base-service,freight-bill,freight-tms-service
management:
endpoints:
web:
exposure:
# "*"开放所有监控端点,指定监控端点,用逗号分隔
include: health,loggers
base-path: /esvActuator
endpoint:
health:
show-details: always
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment