Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for session id name change #606

Closed
breedx-splk opened this issue Aug 10, 2023 · 1 comment
Closed

Prepare for session id name change #606

breedx-splk opened this issue Aug 10, 2023 · 1 comment
Assignees

Comments

@breedx-splk
Copy link
Contributor

breedx-splk commented Aug 10, 2023

It's likely that open-telemetry/semantic-conventions#215 will merge before too long, and we should prepare to handle data with the newer convention.

Recommend doing the following:

  • Rename rum.session.id to session.id. This allows us to use the new name internally everywhere
  • Leverage the SessionIdSpanAppender to copy the session.id back into the legacy rum.session.id name. We should then send both attributes. This allows us to remain backwards compatible while also allowing the backend to eventually begin using the new name.
@breedx-splk
Copy link
Contributor Author

We are using session.id from upstream RumConstants and turning it back into splunk.rumSessionId in the SplunkSpanDataModifier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants