Actuator of SpringBoot

add dependencies to pom

 

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

 

Then I found that only /health can be called, and other information is not visible.

 

Add in yml, you can see all the information.

management:
  security:
    enabled: false

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326118537&siteId=291194637