Springcloud統合zul routes新聞404の表示

1715 ワード

  :springboot2.0.7   springcloud Finchley.SR2
  zuul    ,  http://127.0.0.1:10086//actuator/routes  404  

  actuator      routes endpoint    ,    yml  properties           :
management:
  endpoints:
    web:
      exposure:
        include: routes

springcloud集成zuul查看routes 报404_第1张图片
複数の露出したendpointsを英語のカンマで区切るように構成すればよい.
 
延長:
spring-boot-starter-actuator:
デフォルトの露出endpoints設定:
springcloud集成zuul查看routes 报404_第2张图片
springcloud集成zuul查看routes 报404_第3张图片
springcloud集成zuul查看routes 报404_第4张图片