martinm
06/02/2022, 7:45 AMwithContext
), that should be used when handling requests. (I want to create an active span with opentelemetry-extension-kotlin that is tied to the coroutine context). Looking through the examples I can only see before and after hooks, but nothing like an around interceptor. Any ideas?Aleksei Tirman [JB]
06/02/2022, 8:04 AMmartinm
06/02/2022, 8:45 AMpipeline.intercept(ApplicationCallPipeline.Call) {
withContext(myContext){
// how to proceed here?
}
}
martinm
06/03/2022, 12:50 PMpipeline.intercept(ApplicationCallPipeline.Call) {
withContext(myContext){
proceed()
}
}
PipelineContext.proceed()