Commit 5e5b13ff authored by 张大伟's avatar 张大伟

init

parent eb4be581
......@@ -6,20 +6,20 @@
### 客户端集成
+ 引入maven依赖
```$xslt
```
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-client</artifactId>
</dependency>
```
+ 增加配置
```$xslt
```
spring.boot.admin.client.url=http://localhost:8788
management.endpoints.web.exposure.include=*
management.endpoint.health.show-details=always
```
最好写上服务名称,否则发送邮件的时候不知道是哪个服务挂了
```$xslt
```
spring.application.name= 服务名称
```
......
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