预期的字母或数字字符,但在Hystrix中找到但找到

时间:2019-01-22 07:10:19

标签: hystrix

我正在通过链接https://howtodoinjava.com/spring-cloud/microservices-monitoring/开发微服务监控代码。当我为*添加 management.endpoints.web.exposure.exclude 时。 Spring Boot v 2.1.2.RELEASE Cloud 版本Greenwich.RC2

  

期望字母或数字字符,但找到但找到

application.yml

spring:
  application:
    name: api-gateway

server:
  port: 8010

eureka:
  instance:
    lease-renewal-interval-in-seconds: 5
    lease-expiration-duration-in-seconds: 2
  client:
    serviceUrl:
      defaultZone: http://localhost:8761/eureka/
    healthcheck:
      enabled: true
    lease:
      duration: 5

logging:
  level:
    com.self.sprintboot.learning.apigateway: DEBUG

management:
  endpoints:
    web:
      exposure:
        exclude: *
      base-path: /

enter image description here

0 个答案:

没有答案