diff --git a/packager/react-packager/src/Bundler/index.js b/packager/react-packager/src/Bundler/index.js index 2e3116a07..f03d67b3c 100644 --- a/packager/react-packager/src/Bundler/index.js +++ b/packager/react-packager/src/Bundler/index.js @@ -369,6 +369,7 @@ class Bundler { null, { telemetric: true, + entryPoint: entryFile, }, ); const modulesByName = Object.create(null); diff --git a/packager/react-packager/src/Server/index.js b/packager/react-packager/src/Server/index.js index 6159452fe..d82fa80d2 100644 --- a/packager/react-packager/src/Server/index.js +++ b/packager/react-packager/src/Server/index.js @@ -635,6 +635,7 @@ class Server { return; } + const options = this._getOptionsFromUrl(req.url); const startReqEventId = Activity.startEvent( 'Requesting bundle', { @@ -642,9 +643,10 @@ class Server { }, { telemetric: true, + entryPoint: options.entryFile, + details: req.url, }, ); - const options = this._getOptionsFromUrl(req.url); debug('Getting bundle for request'); const building = this._useCachedOrUpdateOrCreateBundle(options); building.then(