Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1653

Add a new “Startup Time” event for sessions

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.1
    • 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.

            Assignee:
            kevin.mas@mongodb.com Kevin Mas Ruiz
            Reporter:
            kevin.mas@mongodb.com Kevin Mas Ruiz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: