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

feat: ParentSpanContext Should be Available on Span/ReadableSpan #5418

Conversation

JacksonWeber
Copy link
Contributor

Which problem is this PR solving?

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes #5345

Short description of the changes

Adds the parentSpanContext attribute to the Span and ReadableSpan classes.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Updated span tests to include checks for the parentSpanContext attributes to ensure they is set on newly created spans using the values from the parent span.

Checklist:

  • Followed the style guidelines of this project
  • Unit tests have been added
  • Documentation has been updated

@JacksonWeber JacksonWeber requested a review from a team as a code owner February 4, 2025 22:21
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.

Span Does Not Reference Parent Span
1 participant