zoukankan      html  css  js  c++  java
  • spider RPC管理接口

    请访问https://git.oschina.net/zhjh256/io-spider获取最新更新。

    为了在独立管理模式下尽可能的容易运行时排查问题,spider中间件提供了一系列restful api用于动态管理当前节点的路由,下游节点等。目前支持的RESTFUL API如下所示:

    功能

    服务号

    RESTFUL地址

    查询路由信息

    00000001

    http://ip:port/spider/routes.html

    查询下游服务器

    00000002

    http://ip:port/spider/clusters.html

    查询客户端连接

    00000003

    http://ip:port/spider/clients.html

    查询发布的服务

    00000004

    http://ip:port/spider/exports.html

    查询代理的服务

    00000005

    http://ip:port/spider/proxies.html

    查询当前节点概述信息

    00000006

    http://ip:port/spider/myinfo.html

    查询动态路由缓存

    00000007

    http://ip:port/spider/dyn-route-caches.html

    查询服务运行时性能指标

    00000014

    http://ip:port/spider/metrics.html

    查询可信模式待处理请求队列

    00000015

    http://ip:port/spider/queues.html

    清空服务运行时性能指标

    00000016

    http://ip:port/spider/metric/reset-metrics.html

    spider管理控制台入口

     

    http://ip:port/spider/spider.html

     

    生成license文件

    -

    http://ip:port/spider/generate-license-key.html

    待返回给客户端的请求

     

    http://ip:port/spider/pending-requests.html

    spider拓扑树

     

    http://ip:port/spider/node-tree.html

    通过RESTFUL API可以得到的功能,在服务中心均可用,反之不然。

  • 相关阅读:
    第11组 团队Git现场编程实战
    团队项目-需求分析报告
    团队项目-选题报告
    第二次结对编程作业
    第11组 团队展示
    第一次结对编程作业
    第一次个人编程作业
    第一次博客作业
    JavaScript学习笔记----Window对象
    自学前端开发:模拟Array功能 不是扩展子类
  • 原文地址:https://www.cnblogs.com/zhjh256/p/6091145.html
Copyright © 2011-2022 走看看