Spring Boot admin + Spring boot actuator + Erueka Micro Service Monitoring

Source: Internet
Author: User
Tags spring boot actuator

For simple use of spring boot actuator, see

For simple spring boot actuator use, click here

The latest official version of Spring Boot admin is 1.5.3 incompatible with the new version of Springboot or Spring cloud , and I hope you don't step on the pit.

the new spring-cloud-netflix-core 1.3.7 removes a Zuul automatic configuration class, and Spring boot admin 1.5.3 just refers to this class.

The new version of Spring-cloud-starter-hystrix 1.3.7 removes an AOP class from Hystrix, and Spring boot admin 1.5.3 just refers to this class.

So the pom file is as follows

        <Dependency>            <groupId>Org.springframework.cloud</groupId>            <Artifactid>Spring-cloud-starter-config</Artifactid>            <version>1.3.2.RELEASE</version>        </Dependency>        <Dependency>            <groupId>Org.springframework.boot</groupId>            <Artifactid>Spring-boot-starter-actuator</Artifactid>            <version>1.5.6.RELEASE</version>        </Dependency>        <Dependency>            <groupId>Org.springframework.cloud</groupId>            <Artifactid>Spring-cloud-starter-hystrix</Artifactid>            <version>1.2.7.RELEASE</version>        </Dependency>        <Dependency>            <groupId>Org.springframework.cloud</groupId>            <Artifactid>Spring-cloud-netflix-eureka-client</Artifactid>            <version>1.2.7.RELEASE</version>        </Dependency>        <Dependency>            <groupId>Org.springframework.cloud</groupId>            <Artifactid>Spring-cloud-netflix-core</Artifactid>            <version>1.2.7.RELEASE</version>        </Dependency>        <Dependency>            <groupId>Org.springframework.boot</groupId>            <Artifactid>Spring-boot-starter-security</Artifactid>        </Dependency>        <Dependency>            <groupId>Org.springframework.boot</groupId>            <Artifactid>Spring-boot-starter-web</Artifactid>        </Dependency>        <Dependency>            <groupId>De.codecentric</groupId>            <Artifactid>Spring-boot-admin-server</Artifactid>            <version>1.5.3</version>        </Dependency>        <Dependency>            <groupId>De.codecentric</groupId>            <Artifactid>Spring-boot-admin-server-ui</Artifactid>            <version>1.5.3</version>        </Dependency>        <Dependency>            <groupId>De.codecentric</groupId>            <Artifactid>Spring-boot-admin-server-ui-login</Artifactid>            <version>1.5.3</version>        </Dependency>

Applicaiton.yml

Spring:  Boot:    admin:      url:http://localhost:${server.port}server:  port:8018  max-threads:2000  Max-connections:2000eureka:  instance:    appname:monitor-server    Instance-id: ${ Spring.cloud.client.ipaddress}:${server.port}    #续约更新时间间隔    lease-renewal-interval-in-seconds:10    # Renewal expiry time    lease-expiration-duration-in-seconds:30  client:    serviceurl:      defaultzone:http://user : [Email protected]:8000/eureka/management:#  port:8889  Security:    enabled:truesecurity:  User:    name:admin    Password:admin
Directly connected to the Eureka
Browser open: http://localhost:8018/input admin,admin

Spring Boot admin + Spring boot actuator + Erueka Micro Service Monitoring

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.