zoukankan      html  css  js  c++  java
  • 35 查看Zuul的路由端点和过滤器信息

    /routes 端点

    当 @EnableZuulProxy 与 Spring Boot Actuator 配合使用时,Zuul 会暴露一个路由管理端点 /routes。借助这个端点,可以方便、直观地查看以及管理 Zuul 的路由。

    将所有端点都暴露出来,在 application.properties 配置文件中增加以下配置:

    management.endpoints.web.exposure.include=*
    

    访问 http://localhost:2103/actuator/routes 可以显示所有路由信息  

    /filters 端点

    /fliters 端点会返回 Zuul 中所有过滤器的信息。可以清楚地了解 Zuul 中目前有哪些过滤器,哪些过滤器被禁用了等详细信息。

    访问 http://localhost:2103/actuator/filters 可以显示所有过滤器信息

  • 相关阅读:
    走迷宫(三):在XX限制条件下,是否走得出。
    ELMo
    BERT
    ARNOR 远程关系监督抽取
    谷歌T5
    seq2seq
    Attention Is All You Need(Transformer)
    attention的实现
    RNN
    test
  • 原文地址:https://www.cnblogs.com/jrkl/p/14386925.html
Copyright © 2011-2022 走看看