Update instrumentation to always close scope before ending span #4596
Labels
contribution welcome
Request makes sense, maintainers probably won't have time, contribution would be welcome
enhancement
New feature or request
From #4544 (comment)
ByteBuddy instrumentation (
@OnMethodEnter/@OnMethodExit
) follows this pattern, so would be good for consistency for other instrumentation to follow it also. In particular,Context.current()
would be consistent in all end hooks, e.g. SpanProcessor or Instrumenter.If we make this change we should update the Instrumenter documentation linked above also.
The text was updated successfully, but these errors were encountered: