Skip to content

feat(runtime): add RuntimeTracer trait for task instrumentation#2467

Open
xanderbailey wants to merge 3 commits into
apache:mainfrom
xanderbailey:feat/runtime-tracer
Open

feat(runtime): add RuntimeTracer trait for task instrumentation#2467
xanderbailey wants to merge 3 commits into
apache:mainfrom
xanderbailey:feat/runtime-tracer

Conversation

@xanderbailey
Copy link
Copy Markdown
Contributor

@xanderbailey xanderbailey commented May 19, 2026

Allows callers to inject observability (tracing spans, metrics, etc.) into spawned tasks without modifying spawn sites. Inspired by DataFusion's JoinSetTracer but scoped per-Runtime rather than global, enabling different tracers for IO vs CPU handles.

Which issue does this PR close?

What changes are included in this PR?

Are these changes tested?

Allows callers to inject observability (tracing spans, metrics, etc.)
into spawned tasks without modifying spawn sites. Inspired by
DataFusion's JoinSetTracer but scoped per-Runtime rather than global,
enabling different tracers for IO vs CPU handles.
@xanderbailey
Copy link
Copy Markdown
Contributor Author

@CTTY would be interested on your thoughts here?

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.

Add tracing to the new runtime

1 participant