Here's an attempt at instrumentation using new HttpServerInstrumentation abstraction comming with 2.0 (to be consistent with akka-http)
Potential issue noticed for cases where server throws while processing, error handler (DefaultServiceErrorHandler if none provided) will recover and build a new Response without any of context headers, though span is properly failed and closed.
Here's an attempt at instrumentation using new
HttpServerInstrumentation
abstraction comming with 2.0 (to be consistent with akka-http)Potential issue noticed for cases where server throws while processing, error handler (
DefaultServiceErrorHandler
if none provided) will recover and build a newResponse
without any of context headers, though span is properly failed and closed.