Add mongosh shell plugin telemetry

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.22.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • Iteration Icaco
    • Not Needed

      Add telemetry for general usage of the compass shell plugin (opening the shell, some of the basic mongosh commands).

      We can use the message bus param in mongosh and pass in the global app registry to hook into compass here: https://github.com/mongodb-js/mongosh/blob/master/packages/compass-shell/src/modules/runtime.js#L49

      And then we can add rules for which events we want to pass to our telemetry here:
      https://github.com/mongodb-js/compass-metrics/blob/master/src/modules/rules.js

      • Be sure to bump both and pull into compass when merged.

            Assignee:
            Rhys Howell
            Reporter:
            Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: