| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EVENTMESH_MONITOR_FORMAT_BATCHSENDMSG |
static java.lang.String |
EVENTMESH_MONITOR_FORMAT_BLOCKQ |
static java.lang.String |
EVENTMESH_MONITOR_FORMAT_HTTP |
static java.lang.String |
EVENTMESH_MONITOR_FORMAT_MQ_CLIENT |
static java.lang.String |
EVENTMESH_MONITOR_FORMAT_PUSHMSG |
static java.lang.String |
EVENTMESH_MONITOR_FORMAT_SENDMSG |
| Constructor and Description |
|---|
HttpSummaryMetrics(java.util.concurrent.ThreadPoolExecutor batchMsgExecutor,
java.util.concurrent.ThreadPoolExecutor sendMsgExecutor,
java.util.concurrent.ThreadPoolExecutor pushMsgExecutor,
java.util.concurrent.DelayQueue<?> httpFailedQueue) |
public static final java.lang.String EVENTMESH_MONITOR_FORMAT_HTTP
public static final java.lang.String EVENTMESH_MONITOR_FORMAT_BATCHSENDMSG
public static final java.lang.String EVENTMESH_MONITOR_FORMAT_SENDMSG
public static final java.lang.String EVENTMESH_MONITOR_FORMAT_PUSHMSG
public static final java.lang.String EVENTMESH_MONITOR_FORMAT_BLOCKQ
public static final java.lang.String EVENTMESH_MONITOR_FORMAT_MQ_CLIENT
public HttpSummaryMetrics(java.util.concurrent.ThreadPoolExecutor batchMsgExecutor,
java.util.concurrent.ThreadPoolExecutor sendMsgExecutor,
java.util.concurrent.ThreadPoolExecutor pushMsgExecutor,
java.util.concurrent.DelayQueue<?> httpFailedQueue)
public float avgHTTPCost()
public long maxHTTPCost()
public long getHttpDiscard()
public void recordHTTPRequest()
public void recordHTTPDiscard()
public void snapshotHTTPTPS()
public float maxHTTPTPS()
public float avgHTTPTPS()
public void recordHTTPReqResTimeCost(long cost)
public void httpStatInfoClear()
public void recordDecodeTimeCost(long cost)
public float avgHTTPBodyDecodeCost()
public void recordSendBatchMsgDiscard(long delta)
public void snapshotSendBatchMsgTPS()
public float maxSendBatchMsgTPS()
public float avgSendBatchMsgTPS()
public void recordSendBatchMsg(long delta)
public void recordSendBatchMsgFailed(long delta)
public long getSendBatchMsgNumSum()
public long getSendBatchMsgFailNumSum()
public float getSendBatchMsgFailRate()
public void cleanSendBatchStat()
public long getSendBatchMsgDiscardNumSum()
public void snapshotSendMsgTPS()
public float maxSendMsgTPS()
public float avgSendMsgTPS()
public void recordSendMsg()
public void recordReplyMsg()
public void recordReplyMsgFailed()
public long getReplyMsgNumSum()
public long getReplyMsgFailNumSum()
public long getSendMsgNumSum()
public long getSendMsgFailNumSum()
public float getSendMsgFailRate()
public void recordSendMsgFailed()
public void cleanSendMsgStat()
public void snapshotPushMsgTPS()
public void recordHTTPPushTimeCost(long cost)
public float avgHTTPPushLatency()
public float maxHTTPPushLatency()
public float maxPushMsgTPS()
public float avgPushMsgTPS()
public void recordPushMsg()
public long getHttpPushMsgNumSum()
public long getHttpPushFailNumSum()
public float getHttpPushMsgFailRate()
public void recordHttpPushMsgFailed()
public void cleanHttpPushMsgStat()
public void recordBatchSendMsgCost(long cost)
public float avgBatchSendMsgCost()
public void recordSendMsgCost(long cost)
public float avgSendMsgCost()
public void recordReplyMsgCost(long cost)
public float avgReplyMsgCost()
public void send2MQStatInfoClear()
public int getBatchMsgQueueSize()
public int getSendMsgQueueSize()
public int getPushMsgQueueSize()
public int getHttpRetryQueueSize()