use of com.navercorp.pinpoint.profiler.monitor.metric.uri.UriStatHistogram 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