Late to the party, but... indeed, tweaking
BlockHound could accomplish this, although it would complain about a blocking call, not a message tailored to the special case above.
If you'd like to give it a try, you could create a
BlockHoundIntegration
like this (untested, but hopefully works)
import reactor.blockhound.integration.BlockHoundIntegration
import reactor.blockhound.BlockHound.Builder
class MyBlockHoundIntegration : BlockHoundIntegration {
override fun applyTo(builder: Builder): Unit = with(builder) {
markAsBlocking(
"io.opentelemetry.context.ImplicitContextKeyed", "makeCurrent", "()Lio/opentelemetry/context/Scope;"
)
}
}
along with a service provider configuration file.