Skip to content

Make spanId a random 64-bit rather than using a counter#3201

Merged
jasnell merged 1 commit intomainfrom
jsnell/invocation-span-context-span-id
Dec 3, 2024
Merged

Make spanId a random 64-bit rather than using a counter#3201
jasnell merged 1 commit intomainfrom
jsnell/invocation-span-context-span-id

Conversation

@jasnell
Copy link
Collaborator

@jasnell jasnell commented Dec 3, 2024

In the streaming tail worker design discussion it was decided that span IDs will follow the otel pattern and will be random 64-bit rather than monotonically increasing counter.

@jasnell jasnell requested review from a team as code owners December 3, 2024 00:00
@jasnell jasnell force-pushed the jsnell/invocation-span-context-span-id branch from 489b789 to dc32557 Compare December 3, 2024 00:31
Copy link
Member

@anonrig anonrig left a comment

Choose a reason for hiding this comment

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

I assume it's not a breaking change, right?

@jasnell
Copy link
Collaborator Author

jasnell commented Dec 3, 2024

Not a breaking change because nothing is relying on this right now.

@jasnell jasnell force-pushed the jsnell/invocation-span-context-span-id branch from 5020239 to 63efc4d Compare December 3, 2024 14:50
@jasnell jasnell merged commit fb03c6a into main Dec 3, 2024
@jasnell jasnell deleted the jsnell/invocation-span-context-span-id branch December 3, 2024 16:57
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.

2 participants