Changes the visibility for buildAndFinishChildSpan and buildAndInjectSpan to be public for all methods so that a custom list of SpanDecorators can be provided. This is necessary when customizing interceptors. An example would be custom tracing interceptors for use with kafka connect.
There are several ways to solve this, including adding support for SpanDecorators to the tracing interceptor classes (which has it's own complications because of how Interceptors are instantiated and configured). I could not think of a reason why just those function signatures would not be public, given that there are multiple variants that already are public.
Changes the visibility for
buildAndFinishChildSpan
andbuildAndInjectSpan
to be public for all methods so that a custom list of SpanDecorators can be provided. This is necessary when customizing interceptors. An example would be custom tracing interceptors for use with kafka connect.There are several ways to solve this, including adding support for SpanDecorators to the tracing interceptor classes (which has it's own complications because of how Interceptors are instantiated and configured). I could not think of a reason why just those function signatures would not be public, given that there are multiple variants that already are public.