[COMPASS-4351] Add mongosh shell plugin telemetry Created: 15/Jul/20  Updated: 29/Oct/23  Resolved: 03/Aug/20

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: 1.22.0

Type: Task Priority: Major - P3
Reporter: Rhys Howell Assignee: Rhys Howell
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Icaco

 Description   

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.


 Comments   
Comment by Githook User [ 29/Jul/20 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: Bump compass metrics to 3.0.8 to bring in compass-shell events COMPASS-4351 (#1993)
Branch: master
https://github.com/mongodb-js/compass/commit/27d68eed2e68939213964758d679fc8636d6bd6a

Generated at Wed Feb 07 22:36:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.