[COMPASS-7519] Telemetry userID can only be AUID and not anonymous ID Created: 13/Dec/23  Updated: 07/Feb/24

Status: In Progress
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Ale Dimitriu Assignee: Paula Stachova
Resolution: Unresolved Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified
Environment:

OS:
node.js / npm versions:
Additional info:


Sub-Tasks:
Key
Summary
Type
Status
Assignee
COMPASS-7607 MONGOSH - remove userId from identify... Sub-task In Code Review Paula Stachova  
COMPASS-7608 VSCODE - remove userId from identify ... Sub-task In Progress Paula Stachova  
COMPASS-7609 COMPASS - remove userId from identify... Sub-task Ready for Work  
COMPASS-7610 COMPASS - send telemetry with userId ... Sub-task Ready for Work  
Sprint: Iteration Utahraptor

 Description   

Problem Statement/Rationale

What is going wrong? What action would you like the Engineering team to take?

Replace the userID in the Segment telemetry to NOT contain anonymousID but AUID 

userID can only be the AUID

!!! We should not call the identify calls to Segment is the userID is null

 

Please be sure to attach relevant logs with any sensitive data redacted.
How to retrieve logs for: Compass; Shell

_https://app.segment.com/mongodb/sources/compass_prod/debugger_

Steps to Reproduce

How could an engineer replicate the issue you're reporting?

check the logs in debugger and see that 

a/ we have identify calls with no userID

b/ we have identify calls with userID that are not the 64 char string from AUID but a copy of anonymousID

Expected Results

What do you expect to happen?

userID only contain AUID

Actual Results

What do you observe is happening?

Additional Notes

Any additional information that may be useful to include.


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