Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
spring-boot-admin-server
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张大伟
spring-boot-admin-server
Commits
5e5b13ff
Commit
5e5b13ff
authored
Aug 31, 2019
by
张大伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
eb4be581
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+3
-3
No files found.
README.md
View file @
5e5b13ff
...
...
@@ -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= 服务名称
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment