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

Validate links at span creation #3991

Merged
merged 8 commits into from
Jun 24, 2024

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
269 checks passed
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.

Validate links during span creation
4 participants