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

Specify Span ID creation with sampling (non-recording spans included) #1225

Merged
merged 25 commits into from
Nov 16, 2020

Conversation

carlosalberto
Copy link
Contributor

@carlosalberto carlosalberto commented Nov 13, 2020

Fixes #1060

Spin-off of #998 (closes #998)

After discussing pros and cons, it was recommended to always generate new Span Ids even for non-recording instances.

The TC recommendation is to generate a new span ID even for non-recording spans.

cc @yurishkuro @SergeyKanzhelev

@carlosalberto carlosalberto added area:sdk Related to the SDK area:sampling Related to trace sampling spec:trace Related to the specification/trace directory labels Nov 13, 2020
@carlosalberto carlosalberto requested review from a team as code owners November 13, 2020 03:03
Copy link
Member

@Oberon00 Oberon00 left a comment

Choose a reason for hiding this comment

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

spec-compliance-matrix.md Outdated Show resolved Hide resolved
Co-authored-by: Christian Neumüller <christian+github@neumueller.me>
@Oberon00
Copy link
Member

One point to consider: If we explicitly encourage users to rely on unsampled spans having an ID, we should probably close #864 "Option to allow "default" IDs for unsampled traces" as wontfix. CC @awssandra

Co-authored-by: John Watson <jkwatson@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:sampling Related to trace sampling area:sdk Related to the SDK spec:trace Related to the specification/trace directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing spec for Span ID creation for dropped/record-only spans
7 participants