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.
[X] Bug fix (non-breaking change which fixes an issue)
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.
How Has This Been Tested?
tox -e
Does This PR Require a Contrib Repo Change?
Checklist: