use of com.newrelic.agent.service.analytics.CollectorSpanEventReservoirManager in project newrelic-java-agent by newrelic.
the class DataCollectionConfigCrossAgentTest method setUpSpanEventsService.
private SpanEventsService setUpSpanEventsService() {
SpanEventsService spanEventsService = SpanEventsServiceFactory.builder().configService(configService).reservoirManager(new CollectorSpanEventReservoirManager(configService)).transactionService(serviceManager.getTransactionService()).rpmServiceManager(serviceManager.getRPMServiceManager()).build();
serviceManager.setSpansEventService(spanEventsService);
return spanEventsService;
}
Aggregations