Skip to content

Commit 8c27faa

Browse files
committed
✨ spring-boot-demo-actuator 完成
1 parent 4ec2139 commit 8c27faa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

spring-boot-demo-actuator/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,11 @@ management:
104104
## 端点暴露地址
105105
106106
将项目运行起来之后,会在**控制台**里查看所有可以访问的端口信息
107+
1. 打开浏览器,访问:http://localhost:8090/sys/actuator/mappings ,输入用户名(xkcoding)密码(123456)即可看到所有的mapping信息
108+
2. 访问:http://localhost:8090/sys/actuator/beans ,输入用户名(xkcoding)密码(123456)即可看到所有 Spring 管理的Bean
109+
3. 其余可访问的路径,参见文档
107110
108111
## 参考
109112
110-
https://docs.spring.io/spring-boot/docs/2.0.5.RELEASE/reference/htmlsingle/#production-ready
113+
- actuator文档:https://docs.spring.io/spring-boot/docs/2.0.5.RELEASE/reference/htmlsingle/#production-ready
114+
- 具体可以访问哪些路径,参考: https://docs.spring.io/spring-boot/docs/2.0.5.RELEASE/reference/htmlsingle/#production-ready-endpoints

0 commit comments

Comments
 (0)