Skip to content

Associate the batch_create_sessions tracing::span with the parent.#434

Merged
yoshidan merged 1 commit into
yoshidan:mainfrom
zarthross:instrumenting
Apr 26, 2026
Merged

Associate the batch_create_sessions tracing::span with the parent.#434
yoshidan merged 1 commit into
yoshidan:mainfrom
zarthross:instrumenting

Conversation

@zarthross

Copy link
Copy Markdown
Contributor

batch_create_sessions is instrumented and creates spans, but because tasks.spawn was used here, the trace was disassociated from the parent.
By adding the .instrument(Span::current()) we re-associate the trace.

`batch_create_sessions` is instrumented and creates spans, but because
`tasks.spawn` was used here, the trace was disassociated from the
parent.
By adding the `.instrument(Span::current())` we re-associate the trace.
@yoshidan yoshidan added the safe to test safe to test label Apr 22, 2026
@yoshidan

Copy link
Copy Markdown
Owner

Thank you for contribution. I ll fix the CI.

@yoshidan yoshidan merged commit 8b68e89 into yoshidan:main Apr 26, 2026
7 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test safe to test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants