Skip to content

Commit c6022e0

Browse files
committed
actuator注释
1 parent f3be9a2 commit c6022e0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
1+
12
management:
23
server:
4+
#actuator端口
35
port: 9001
46
endpoints:
57
web:
8+
#修改访问路径 2.0之前默认是/ 2.0默认是 /actuator 可以通过这个属性值修改
69
base-path: /actuator
710
exposure:
11+
#开放所有页面节点 默认只开启了health、info两个节点
812
include: "*"
913
endpoint:
1014
health:
11-
show-details: always
15+
#显示健康具体信息 默认不会显示详细信息
16+
show-details: always
17+
server:
18+
port: 8081

0 commit comments

Comments
 (0)