Zuul监控Endpoint过滤

Spring Cloud Actuator有很多监控接口,但是当我们在zuul上面配置了类似于/**的映射后,这些监控接口也会被转发,避免这种情况,加入配置:

zuul.ignoredPatterns = /info,/loggers,/metrics,/health,/mappings,/beans,/dump,/heapdump,/env,/configprops,/trace,/loadBalancer,/bizConfig,/instance-status

这样这些path将不会被转发

你可能感兴趣的:(Spring,Cloud,API网关,zuul,Spring,Cloud相关)