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

Extension: Auto-close span on post #1347

Open
cedricziel opened this issue Jul 12, 2024 · 0 comments
Open

Extension: Auto-close span on post #1347

cedricziel opened this issue Jul 12, 2024 · 0 comments

Comments

@cedricziel
Copy link
Contributor

Is your feature request related to a problem?

Declaring post hooks becomes repetitive. - Between pre and post hooks the same steps have to be performed:

pre: create span, inject into context

post: get span from context, close scope..

Describe the solution you'd like

An alternative API for span centric instrumentation that automatically creates a span which is automatically created, takes failure scenarios into account and closes the span once post-call

Describe alternatives you've considered
Which alternative solutions or features have you considered?

Additional context
Add any other context about the feature request 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

No branches or pull requests

1 participant