-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Developer Tools
-
3
-
Not Needed
Right now, when we connect, we query some internal Node.js APIs (transitively, the `dns` module) to gather some non-critical data for telemetry.
Basically, the modules 'resolve-mongodb-srv' and 'mongodb-cloud-info' that are only used in `packages/compass-connections/src/modules/telemetry.ts` in the `trackNewConnectionEvent` are not browser compatible because they need `dns`.
This information should be resolved when loading the ConnectionInfo from the ConnectionStorage. This way, only the relevant information is loaded for Compass and Data Explorer, and we can use the provided APIs of each environment to load this data if necessary.
- is duplicated by
-
COMPASS-7672 Refactor connection-storage to decouple ConnectionInfo on how it's stored
- Closed
- is related to
-
COMPASS-7397 Convert compass-connection to plugin package
- Closed