Skip to content

Conversation

@liywjl
Copy link
Contributor

@liywjl liywjl commented Aug 16, 2022

What does this PR do?

  • Update RUM Global Context APIs
  • Update/Add Session User APIs
  • Document the name changes

Motivation

We have expanded the API behaviour of Session User APIs and used this as an occasion to fix some of the issues present in the underlying code. We expanded the changes to also to fix similar issues in RUM Global Context.

Additional Notes


Reviewer checklist

  • Review the changed files.
  • Review the URLs listed in the Preview section.
  • Check images for PII
  • Review any mentions of "Contact Datadog support" for internal support documentation.

@liywjl liywjl requested a review from a team as a code owner August 16, 2022 13:14
@github-actions github-actions bot added the real_user_monitoring Content changed in the real_user_monitoring folder label Aug 16, 2022
To identify user sessions, use the `setUser` API:
When making changes to the user session object, all RUM events collected afterwards the change contain the updated information.
## User session APIs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💬 suggestion: ‏what about having a sub section for each capability (like global context)?
something like:

## user sessions
### identify user session
### access user session
### override user session property
### clear user session

Copy link
Contributor

@bcaudan bcaudan Aug 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it could be nice to merge

## Identify user sessions
## User session APIs
### Identify user sessions

into

## User session
### Identify user sessions

it avoid to duplicate the "identify user sessions" header and regroup all things related to user session in a single section, like Global Context

liywjl and others added 11 commits August 17, 2022 10:35
@liywjl
Copy link
Contributor Author

liywjl commented Aug 23, 2022

closing in favour of #15085 (due to bad branch name)

@liywjl liywjl closed this Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

real_user_monitoring Content changed in the real_user_monitoring folder

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants