use of com.navercorp.pinpoint.grpc.trace.PUriHistogram in project pinpoint by naver.
the class GrpcAgentUriStatMapper method createEachUriStatBo.
private EachUriStatBo createEachUriStatBo(PEachUriStat pEachUriStat) {
EachUriStatBo eachUriStatBo = new EachUriStatBo();
final String uri = pEachUriStat.getUri();
eachUriStatBo.setUri(uri);
PUriHistogram pTotalHistogram = pEachUriStat.getTotalHistogram();
final UriStatHistogram totalHistogram = convertUriStatHistogram(pTotalHistogram);
eachUriStatBo.setTotalHistogram(totalHistogram);
PUriHistogram pFailedHistogram = pEachUriStat.getFailedHistogram();
final UriStatHistogram failedHistogram = convertUriStatHistogram(pFailedHistogram);
eachUriStatBo.setFailedHistogram(failedHistogram);
return eachUriStatBo;
}
use of com.navercorp.pinpoint.grpc.trace.PUriHistogram in project pinpoint by naver.
the class GrpcUriStatMessageConverter method createPEachUriStat.
private PEachUriStat createPEachUriStat(EachUriStatData eachUriStatData) {
String uri = eachUriStatData.getUri();
PEachUriStat.Builder builder = PEachUriStat.newBuilder();
builder.setUri(uri);
UriStatHistogram totalHistogram = eachUriStatData.getTotalHistogram();
PUriHistogram totalPUriHistogram = createPUriHistogram(totalHistogram);
builder.setTotalHistogram(totalPUriHistogram);
UriStatHistogram failedHistogram = eachUriStatData.getFailedHistogram();
PUriHistogram failedPUriHistogram = createPUriHistogram(failedHistogram);
builder.setFailedHistogram(failedPUriHistogram);
return builder.build();
}
Aggregations