in packages/rum-core/src/performance-monitoring/index.js [40:68]
function registerServices() {
serviceCreators[TRANSACTION_SERVICE] = serviceFactory => {
const [loggingService, configService] = serviceFactory.getService([
LOGGING_SERVICE,
CONFIG_SERVICE
])
return new TransactionService(loggingService, configService)
}
serviceCreators[PERFORMANCE_MONITORING] = serviceFactory => {
const [
apmServer,
configService,
loggingService,
transactionService
] = serviceFactory.getService([
APM_SERVER,
CONFIG_SERVICE,
LOGGING_SERVICE,
TRANSACTION_SERVICE
])
return new PerformanceMonitoring(
apmServer,
configService,
loggingService,
transactionService
)
}
}