tnblog
首页
视频
资源
登录

spring boot 监控二 (开启所有监控)

2229人阅读 2021/11/22 11:59 总访问:1090196 评论:0 收藏:0 手机
分类: spingboot高

一、在pom.xml的配置

#开启开启健康检查的完整信息
management.endpoint.health.show-details=always
#暴露所有的endpoints(端点)
management.endpoints.web.exposure.include=*

结果:

常用的endpoint(端点)
1、beans

跳转链接:http://localhost:8080/actuator/beans bean详情信息

2、环境

3、mappings

评价
没有个性,不需要签名
排名
6
文章
6
粉丝
16
评论
8
{{item.articleTitle}}
{{item.blogName}} : {{item.content}}
ICP备案 :渝ICP备18016597号-1
网站信息:2018-2024TNBLOG.NET
技术交流:群号656732739
联系我们:contact@tnblog.net
欢迎加群交流技术