actuator

服务端引入依赖

        <dependency>
            <groupId>org.springframework.bootgroupId>
            <artifactId>spring-boot-starter-actuatorartifactId>
        dependency>
spring:
  application:
    name: ek-police

endpoints:
  sensitive: false

eureka:
  instance:
    leaseRenewalIntervalInSeconds: 5
    leaseExpirationDurationInSeconds: 60
    metadata-map:
      company-name: crazyit
  client:
    serviceUrl:
      defaultZone: http://localhost:8761/eureka/

logging:
  level: 
    com.netflix: DEBUG      

actuator_第1张图片

你可能感兴趣的:(springCloud)