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

Add telemetry events

    • Type: Icon: Story Story
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.10.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed

      Add telemetry events to track usage of this functionality and errors with loaded scripts.

       

      Event Name Fired when Properties Property values Notes
      Script Loaded the user loads a script into the shell with load() nested
      mongosh_version
      true|false
      <version>
      mongosh_version: see MONGOSH-614
      Script Loaded CLI the user loads a script from the command line (e.g. mongosh myscript.js) shell
      mongosh_version
      true|false
      <version>
      shell: if --shell param was used
      Script Evaluated the user loads a script with --eval shell
      mongosh_version
      true|false
      <version>
      shell: if --shell param was used
      Mongoshrc Loaded the shell loads ~/.mongoshrc mongosh_version <version>  
      Mongorc Warning the shell shows a warning when ~/.mongoshrc is missing but /.mongorc is present. mongosh_version <version>  

       

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: