mirror of https://github.com/status-im/metro.git
Add more information to activity events
Reviewed By: matryoshcow Differential Revision: D3950787 fbshipit-source-id: b6ac22027380a9f7cc7bcb39ecd33d5c9255301f
This commit is contained in:
parent
6c1f9f99be
commit
f3f12c6d2d
|
@ -369,6 +369,7 @@ class Bundler {
|
||||||
null,
|
null,
|
||||||
{
|
{
|
||||||
telemetric: true,
|
telemetric: true,
|
||||||
|
entryPoint: entryFile,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
const modulesByName = Object.create(null);
|
const modulesByName = Object.create(null);
|
||||||
|
|
|
@ -635,6 +635,7 @@ class Server {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const options = this._getOptionsFromUrl(req.url);
|
||||||
const startReqEventId = Activity.startEvent(
|
const startReqEventId = Activity.startEvent(
|
||||||
'Requesting bundle',
|
'Requesting bundle',
|
||||||
{
|
{
|
||||||
|
@ -642,9 +643,10 @@ class Server {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
telemetric: true,
|
telemetric: true,
|
||||||
|
entryPoint: options.entryFile,
|
||||||
|
details: req.url,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
const options = this._getOptionsFromUrl(req.url);
|
|
||||||
debug('Getting bundle for request');
|
debug('Getting bundle for request');
|
||||||
const building = this._useCachedOrUpdateOrCreateBundle(options);
|
const building = this._useCachedOrUpdateOrCreateBundle(options);
|
||||||
building.then(
|
building.then(
|
||||||
|
|
Loading…
Reference in New Issue