-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Not Needed
Scope
Add a new “Startup Time” event for sessions that we are reporting telemetry for that reports the time it took for mongosh to get to an established session
The "Startup Time" event will contain a list of attributes where each attribute will be the process name and the time it took.
We will use the functionality provided in the startup-timing.ts file to send the event before the REPL is enabled.
- When boxednode is linked (the application is bundled) it will include all timings from the runtime initialisation, implemented in this PR and
MONGOSH-1656. - When boxednode is not linked (development environment) it won't include any timing from the runtime initialisation, only marks from the JavaScript application.
Even if there are no timings available, we must send the event, to ensure consistency on the session flow.
- depends on
-
MONGOSH-1656 Allow startup timings to be grouped
- Closed