Add a util function to ReactorUtils
that makes it easier to create a span for Reactor / WebFlux
#4043
Labels
ReactorUtils
that makes it easier to create a span for Reactor / WebFlux
#4043
Description
When using Reactor (e.g. when using Spring Boot WebFlux), the way to start a Sentry span that is also set as the current span is as follows:
NOTE: This code lacks error handling!
We could make it easier by adding something like
ReactorUtils.withSentrySpan
that takes care of theContext
manipulation and reading.This issue shall serve to gauge interest in such a util function. Please 👍 if you would like to see this implemented.
The text was updated successfully, but these errors were encountered: