Skip to content

Conversation

@emdneto
Copy link
Member

@emdneto emdneto commented Jun 22, 2024

Description

Implementing validation of links during span creation as per spec, we shouldn't record invalid links (i.e., links with invalid span context with empty attributes and tracestate)
Fixes #3990

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • tox -e

Does This PR Require a Contrib Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

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

@emdneto emdneto requested a review from a team June 22, 2024 13:16
@emdneto emdneto changed the title validate links at span creation Validate links at span creation Jun 22, 2024
Copy link
Contributor

@zhihali zhihali left a comment

Choose a reason for hiding this comment

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

LGTM, Great work!

@lzchen lzchen merged commit d474e7a into open-telemetry:main Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Validate links during span creation

4 participants