Search in sources :

Example 16 with PSpanEvent

use of com.navercorp.pinpoint.grpc.trace.PSpanEvent in project pinpoint by naver.

the class CollectorGrpcSpanFactoryTest method newSpanChunk_first_depth_zero.

private PSpanChunk newSpanChunk_first_depth_zero() {
    PSpanEvent sequenceOverflowEvent = newEvent(1, 0);
    PSpanEvent event = newEvent(2, 1);
    return newSpanChunk(sequenceOverflowEvent, event);
}
Also used : PSpanEvent(com.navercorp.pinpoint.grpc.trace.PSpanEvent)

Example 17 with PSpanEvent

use of com.navercorp.pinpoint.grpc.trace.PSpanEvent in project pinpoint by naver.

the class CollectorGrpcSpanFactoryTest method newSpanChunk_compact_depth.

private PSpanChunk newSpanChunk_compact_depth() {
    PSpanEvent sequenceOverflowEvent = newEvent(1, 1);
    PSpanEvent event = newEvent(2, 0);
    return newSpanChunk(sequenceOverflowEvent, event);
}
Also used : PSpanEvent(com.navercorp.pinpoint.grpc.trace.PSpanEvent)

Aggregations

PSpanEvent (com.navercorp.pinpoint.grpc.trace.PSpanEvent)17 SpanEvent (com.navercorp.pinpoint.profiler.context.SpanEvent)5 PTransactionId (com.navercorp.pinpoint.grpc.trace.PTransactionId)4 VisibleForTesting (com.navercorp.pinpoint.common.annotations.VisibleForTesting)3 SpanEventBo (com.navercorp.pinpoint.common.server.bo.SpanEventBo)3 PAnnotation (com.navercorp.pinpoint.grpc.trace.PAnnotation)3 PSpan (com.navercorp.pinpoint.grpc.trace.PSpan)3 TraceId (com.navercorp.pinpoint.bootstrap.context.TraceId)2 IntStringValue (com.navercorp.pinpoint.common.util.IntStringValue)2 PIntStringValue (com.navercorp.pinpoint.grpc.trace.PIntStringValue)2 PLocalAsyncId (com.navercorp.pinpoint.grpc.trace.PLocalAsyncId)2 Annotation (com.navercorp.pinpoint.profiler.context.Annotation)2 LocalAsyncId (com.navercorp.pinpoint.profiler.context.LocalAsyncId)2 Shared (com.navercorp.pinpoint.profiler.context.id.Shared)2 TraceRoot (com.navercorp.pinpoint.profiler.context.id.TraceRoot)2 ArrayList (java.util.ArrayList)2 SpanBo (com.navercorp.pinpoint.common.server.bo.SpanBo)1 SpanChunkBo (com.navercorp.pinpoint.common.server.bo.SpanChunkBo)1 PAcceptEvent (com.navercorp.pinpoint.grpc.trace.PAcceptEvent)1 PAnnotationValue (com.navercorp.pinpoint.grpc.trace.PAnnotationValue)1