Links with invalid SpanContext are recorded.#3928
Links with invalid SpanContext are recorded.#3928carlosalberto merged 10 commits intoopen-telemetry:mainfrom
Conversation
As Links with invalid SpanContext may contain attributes describing the operation (specially useful and occurrent for messaging systems), we still want to collect them, also allowing the user to drop them via a SDK configuration option.
|
Thanks @carlosalberto for getting this going.
I think this (practically) depends on what implementations are currently doing. If all implementations are currently recording links to invalid span contexts, then this change wouldn't be a breaking change. If there is an implementation that drops links to invalid span contexts without good reason, then this change might be considered breaking for that implementation. I'd suggest:
|
|
@jmacd @trask Applied feedback. Please review. cc @bogdandrutu |
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
|
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
|
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
|
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
As Links with invalid SpanContext may contain attributes describing the operation (specially useful and occurrent for messaging systems), we still want to collect them. Fixes open-telemetry#2176 (in the issue extensive discussion about took place and we came, back in the day, with an initial agreement). --------- Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
May 2024 release. Important changes: * Mark exemplars as stable (open-telemetry#3870) * Mark synchronous gauge as stable (open-telemetry#4019) * Record Links with empty/invalid SpanContext (open-telemetry#3928)
As Links with invalid SpanContext may contain attributes describing the operation (specially useful and occurrent for messaging systems), we still want to collect them. Fixes #2176 (in the issue extensive discussion about took place and we came, back in the day, with an initial agreement).