use of com.navercorp.pinpoint.profiler.context.SpanChunkFactory in project pinpoint by naver.
the class SpanStreamUDPSenderTest method createSpanChunk.
private SpanChunk createSpanChunk(int spanEventSize) throws InterruptedException {
SpanChunkFactory spanChunkFactory = new DefaultSpanChunkFactory("applicationName", "agentId", 0, ServiceType.STAND_ALONE);
List<SpanEvent> originalSpanEventList = createSpanEventList(spanEventSize);
SpanChunk spanChunk = spanChunkFactory.create(originalSpanEventList);
return spanChunk;
}
Aggregations