类 DubboMonitor

    • 方法详细资料

      • send

        public void send()
      • collect

        public void collect(URL url)
        从接口复制的说明: MonitorService
        Collect monitor data 1. support invocation count: count://host/interface?application=foo&method=foo&provider=10.20.153.11:20880&success=12&failure=2&elapsed=135423423 1.1 host,application,interface,group,version,method: record source host/application/interface/method 1.2 add provider address parameter if it's data sent from consumer, otherwise, add source consumer's address in parameters 1.3 success,failure,elapsed: record success count, failure count, and total cost for success invocations, average cost (total cost/success calls)
        指定者:
        collect 在接口中 MonitorService
      • lookup

        public List<URL> lookup(URL query)
        从接口复制的说明: MonitorService
        Lookup monitor data 1. support lookup by day: count://host/interface?application=foo&method=foo&side=provider&view=chart&date=2012-07-03 1.1 host,application,interface,group,version,method: query criteria for looking up by host, application, interface, method. When one criterion is not present, it means ALL will be accepted, but 0.0.0.0 is ALL for host 1.2 side=consumer,provider: decide the data from which side, both provider and consumer are returned by default 1.3 default value is view=summary, to return the summarized data for the whole day. view=chart will return the URL address showing the whole day trend which is convenient for embedding in other web page 1.4 date=2012-07-03: specify the date to collect the data, today is the default value
        指定者:
        lookup 在接口中 MonitorService
        返回:
        statistics
      • getUrl

        public URL getUrl()
        从接口复制的说明: Node
        get url.
        指定者:
        getUrl 在接口中 Node
        返回:
        url.
      • isAvailable

        public boolean isAvailable()
        从接口复制的说明: Node
        is available.
        指定者:
        isAvailable 在接口中 Node
        返回:
        available.
      • destroy

        public void destroy()
        从接口复制的说明: Node
        destroy.
        指定者:
        destroy 在接口中 Node