Search in sources :

Example 1 with UriStatHistogram

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();
}
Also used : PUriHistogram(com.navercorp.pinpoint.grpc.trace.PUriHistogram) PEachUriStat(com.navercorp.pinpoint.grpc.trace.PEachUriStat) UriStatHistogram(com.navercorp.pinpoint.profiler.monitor.metric.uri.UriStatHistogram)

Aggregations

PEachUriStat (com.navercorp.pinpoint.grpc.trace.PEachUriStat)1 PUriHistogram (com.navercorp.pinpoint.grpc.trace.PUriHistogram)1 UriStatHistogram (com.navercorp.pinpoint.profiler.monitor.metric.uri.UriStatHistogram)1