RUM-7795 Anonymous RUM Identifier#2172
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 1013 Passed, 2754 Skipped, 47.38s Total duration (1m 45.5s time saved) |
mariedm
left a comment
There was a problem hiding this comment.
LGMT! Only a few minor comments.
ncreated
left a comment
There was a problem hiding this comment.
It looks great overall 👌 - I only left suggestions on naming and documenting the public API.
Requesting a change tho, to add integration unit tests for this feature. Using real instance of the SDK + proxy and asserting that anonymous ID is generated and inserted into events of two RUM sessions started in two instances of the SDK. I can help and pair on this 🙌
Co-authored-by: Maciek Grzybowski <[email protected]>
7ca3267
c68095c
|
/merge |
Devflow running:
|
What and why?
Adds capability of tracking anonymous id (enabled by default). This data allows linking sessions coming from the same device.
How?
Following proposal from this RFC (internal) it reuses data store mechanism, and based on configuration it generates and reuses stored identifier.
This identifier is attached to
UserInfoobject (schema already updated), which is enriching other SDK events.Here is corresponding PR for Android:
DataDog/dd-sdk-android#2487
Review checklist
make api-surface)