public abstract class AbstractRpcStatJsonReporter
extends com.alipay.common.tracer.core.reporter.stat.AbstractSofaTracerStatisticReporter
| 构造器和说明 |
|---|
AbstractRpcStatJsonReporter(String statTracerName,
String rollingPolicy,
String logReserveConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
doReportStat(com.alipay.common.tracer.core.span.SofaTracerSpan sofaTracerSpan)
统计一次 span
|
abstract String |
getFromApp(Map<String,String> tagsWithStr)
Get from app
|
protected String |
getLoadTestMark(com.alipay.common.tracer.core.span.SofaTracerSpan span) |
abstract String |
getToApp(Map<String,String> tagsWithStr)
Get to app
|
abstract String |
getZone(Map<String,String> tagsWithStr)
Get zone
|
protected boolean |
isSuccess(String resultCode) |
void |
print(com.alipay.common.tracer.core.reporter.stat.model.StatKey statKey,
long[] values) |
public void doReportStat(com.alipay.common.tracer.core.span.SofaTracerSpan sofaTracerSpan)
doReportStat 在类中 com.alipay.common.tracer.core.reporter.stat.AbstractSofaTracerStatisticReportersofaTracerSpan - 被统计的一次 spanpublic abstract String getFromApp(Map<String,String> tagsWithStr)
tagsWithStr - tagspublic abstract String getToApp(Map<String,String> tagsWithStr)
tagsWithStr - tagspublic abstract String getZone(Map<String,String> tagsWithStr)
tagsWithStr - tagsprotected boolean isSuccess(String resultCode)
protected String getLoadTestMark(com.alipay.common.tracer.core.span.SofaTracerSpan span)
public void print(com.alipay.common.tracer.core.reporter.stat.model.StatKey statKey,
long[] values)
print 在接口中 com.alipay.common.tracer.core.reporter.stat.SofaTracerStatisticReporterprint 在类中 com.alipay.common.tracer.core.reporter.stat.AbstractSofaTracerStatisticReporterCopyright © 2008–2018 The Ant Financial. All rights reserved.