Skip to content

refactor!: clean up async span instrumentation APIs#176

Open
andylokandy wants to merge 4 commits into
0.8-alphafrom
refactor/async-span-instrumentation-api
Open

refactor!: clean up async span instrumentation APIs#176
andylokandy wants to merge 4 commits into
0.8-alphafrom
refactor/async-span-instrumentation-api

Conversation

@andylokandy
Copy link
Copy Markdown
Collaborator

Summary

  • Rename span constructors to Span::start, Span::start_with_local_parent, and LocalSpan::start
  • Replace future and stream enter_on_poll with in_span(...).with_poll_span(...)
  • Rename the macro option from enter_on_poll = true to poll_span = true
  • Update docs, examples, benches, changelog, no-feature checks, and macro UI tests for the new API names

@andylokandy andylokandy changed the base branch from main to 0.8-alpha May 4, 2026 17:33
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.

1 participant