From 8c27faabc3baf1ef5a6d3a8ed924134205013919 Mon Sep 17 00:00:00 2001 From: "Yangkai.Shen" <237497819@qq.com> Date: Fri, 30 Nov 2018 18:04:13 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20spring-boot-demo-actuator=20?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spring-boot-demo-actuator/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/spring-boot-demo-actuator/README.md b/spring-boot-demo-actuator/README.md index c0128ba..c397a9d 100644 --- a/spring-boot-demo-actuator/README.md +++ b/spring-boot-demo-actuator/README.md @@ -104,7 +104,11 @@ management: ## 端点暴露地址 将项目运行起来之后,会在**控制台**里查看所有可以访问的端口信息 +1. 打开浏览器,访问:http://localhost:8090/sys/actuator/mappings ,输入用户名(xkcoding)密码(123456)即可看到所有的mapping信息 +2. 访问:http://localhost:8090/sys/actuator/beans ,输入用户名(xkcoding)密码(123456)即可看到所有 Spring 管理的Bean +3. 其余可访问的路径,参见文档 ## 参考 -https://docs.spring.io/spring-boot/docs/2.0.5.RELEASE/reference/htmlsingle/#production-ready \ No newline at end of file +- actuator文档:https://docs.spring.io/spring-boot/docs/2.0.5.RELEASE/reference/htmlsingle/#production-ready +- 具体可以访问哪些路径,参考: https://docs.spring.io/spring-boot/docs/2.0.5.RELEASE/reference/htmlsingle/#production-ready-endpoints \ No newline at end of file