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

Added session.id as key along with rum.session.id for span #610

Closed

Conversation

surbhimaheshwari
Copy link
Contributor

@surbhimaheshwari surbhimaheshwari commented Aug 14, 2023

As per semantic convention added the replaced the rum.session.id to session.id. Adding both of them to the attribute in order to make this backward compatible.

Resolves #606

@surbhimaheshwari surbhimaheshwari requested review from a team as code owners August 14, 2023 18:33
Copy link
Contributor

@breedx-splk breedx-splk left a comment

Choose a reason for hiding this comment

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

Oof, I had forgotten that the SessionIdSpanAppender is in the upstream package and we will eventually be sourcing it from there. This means that we really shouldn't be making changes in the io.opentelemetry.* packages in this project (they will go away as soon as we can source from an upstream artifact). Sorry for the misleading guidance in the issue.

I think we will need another component that copies from the upstream field name (likely session.id into our rum name). This will need to also be compatible with the LogToSpanBridge sometime soon.

@surbhimaheshwari
Copy link
Contributor Author

Closing it for now until the project is changed to use upstream project opentelemetry-android

@breedx-splk breedx-splk deleted the smaheshwari/session_id_semantic_support branch August 12, 2024 22:57
@breedx-splk breedx-splk restored the smaheshwari/session_id_semantic_support branch August 12, 2024 22:57
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 this pull request may close these issues.

Prepare for session id name change
2 participants