Commit fb8a0945 authored by lijd's avatar lijd

添加actuator依赖以及相关配置

parent a02fea24
...@@ -111,6 +111,10 @@ ...@@ -111,6 +111,10 @@
<artifactId>druid-spring-boot-starter</artifactId> <artifactId>druid-spring-boot-starter</artifactId>
<version>${alibaba-druid.version}</version> <version>${alibaba-druid.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
</dependencies> </dependencies>
<dependencyManagement> <dependencyManagement>
......
...@@ -67,3 +67,14 @@ ribbon: ...@@ -67,3 +67,14 @@ ribbon:
eager-load: eager-load:
enabled: true enabled: true
clients: freight-base-service,freight-bill,freight-tms-service 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
...@@ -67,3 +67,14 @@ ribbon: ...@@ -67,3 +67,14 @@ ribbon:
eager-load: eager-load:
enabled: true enabled: true
clients: freight-base-service,freight-bill,freight-tms-service 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