码迷,mamicode.com
首页 > 其他好文 > 详细

actuator监控

时间:2017-09-29 11:02:36      阅读:151      评论:0      收藏:0      [点我收藏+]

标签:boot   event   ppi   self   enabled   false   ica   als   autoconf   

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.hateoas</groupId>
<artifactId>spring-hateoas</artifactId>
</dependency>

 

@Controller
@EnableAutoConfiguration
public class App 
{

    public static void main(String[] args) throws Exception {
        SpringApplication.run(App.class, args);
    }
}

  

{"links":[
{"rel":"self","href":"http://127.0.0.1:8080/actuator"},
{"rel":"health","href":"http://127.0.0.1:8080/health"},
{"rel":"trace","href":"http://127.0.0.1:8080/trace"},
{"rel":"configprops","href":"http://127.0.0.1:8080/configprops"},
{"rel":"mappings","href":"http://127.0.0.1:8080/mappings"},
{"rel":"env","href":"http://127.0.0.1:8080/env"},
{"rel":"auditevents","href":"http://127.0.0.1:8080/auditevents"},
{"rel":"metrics","href":"http://127.0.0.1:8080/metrics"},
{"rel":"beans","href":"http://127.0.0.1:8080/beans"},
{"rel":"heapdump","href":"http://127.0.0.1:8080/heapdump"},
{"rel":"autoconfig","href":"http://127.0.0.1:8080/autoconfig"},
{"rel":"info","href":"http://127.0.0.1:8080/info"},
{"rel":"dump","href":"http://127.0.0.1:8080/dump"},
{"rel":"loggers","href":"http://127.0.0.1:8080/loggers"}]}

 

 

management.security.enabled=false

actuator监控

标签:boot   event   ppi   self   enabled   false   ica   als   autoconf   

原文地址:http://www.cnblogs.com/ahuo/p/7609900.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!