接口 MonitorService
-
- 所有已知子接口:
Monitor
- 所有已知实现类:
DubboMonitor
public interface MonitorService
MonitorService. (SPI, Prototype, ThreadSafe)
-
-
字段概要
字段 修饰符和类型 字段 说明 static
APPLICATION
static
CONCURRENT
static
CONSUMER
static
ELAPSED
static
FAILURE
static
GROUP
static
INPUT
static
INTERFACE
static
MAX_CONCURRENT
static
MAX_ELAPSED
static
MAX_INPUT
static
MAX_OUTPUT
static
METHOD
static
OUTPUT
static
PROVIDER
static
SUCCESS
static
TIMESTAMP
static
VERSION
-
-
-
字段详细资料
-
APPLICATION
static final APPLICATION
- 另请参阅:
- 常量字段值
-
INTERFACE
static final INTERFACE
- 另请参阅:
- 常量字段值
-
METHOD
static final METHOD
- 另请参阅:
- 常量字段值
-
GROUP
static final GROUP
- 另请参阅:
- 常量字段值
-
VERSION
static final VERSION
- 另请参阅:
- 常量字段值
-
CONSUMER
static final CONSUMER
- 另请参阅:
- 常量字段值
-
PROVIDER
static final PROVIDER
- 另请参阅:
- 常量字段值
-
TIMESTAMP
static final TIMESTAMP
- 另请参阅:
- 常量字段值
-
SUCCESS
static final SUCCESS
- 另请参阅:
- 常量字段值
-
FAILURE
static final FAILURE
- 另请参阅:
- 常量字段值
-
INPUT
static final INPUT
- 另请参阅:
- 常量字段值
-
OUTPUT
static final OUTPUT
- 另请参阅:
- 常量字段值
-
ELAPSED
static final ELAPSED
- 另请参阅:
- 常量字段值
-
CONCURRENT
static final CONCURRENT
- 另请参阅:
- 常量字段值
-
MAX_INPUT
static final MAX_INPUT
- 另请参阅:
- 常量字段值
-
MAX_OUTPUT
static final MAX_OUTPUT
- 另请参阅:
- 常量字段值
-
MAX_ELAPSED
static final MAX_ELAPSED
- 另请参阅:
- 常量字段值
-
MAX_CONCURRENT
static final MAX_CONCURRENT
- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
collect
void collect(URL statistics)
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)- 参数:
statistics
-
-
lookup
<URL> lookup(URL query)
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- 参数:
query
-- 返回:
- statistics
-
-