-
Type: Story
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
2
-
Iteration Yucca
-
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 |
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> |
- depends on
-
MONGOSH-324 Support for .mongoshrc.js
- Closed
-
MONGOSH-326 Load script files from command line
- Closed
-
MONGOSH-626 Support --eval
- Closed
-
MONGOSH-628 Define analytics events
- Closed