Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function enter(_ctx) {
ctx = _ctx;
transmissionsSinceLastFullDataEmit = 0;
uncaught.activate();
metrics.activate();
tracing.activate();
requestHandler.activate();
sendData();
scheduleTracingMetrics();
logger.info('The Instana Node.js collector is now fully initialized.');
}