Most of the other opentracing contrib projects use a SpanDecorator so users can customize the span. Is there any reason you have hard-coded `JdbcTracingUtils.on*()` instead of the SpanDecorator pattern? Examples: - https://github.com/opentracing-contrib/java-spring-web/blob/master/opentracing-spring-web/src/main/java/io/opentracing/contrib/spring/web/client/RestTemplateSpanDecorator.java - https://github.com/opentracing-contrib/java-spring-web/blob/master/opentracing-spring-web/src/main/java/io/opentracing/contrib/spring/web/interceptor/HandlerInterceptorSpanDecorator.java - https://github.com/opentracing-contrib/java-web-servlet-filter/blob/master/opentracing-web-servlet-filter/src/main/java/io/opentracing/contrib/web/servlet/filter/ServletFilterSpanDecorator.java - https://github.com/opentracing-contrib/java-okhttp/blob/master/opentracing-okhttp3/src/main/java/io/opentracing/contrib/okhttp3/OkHttpClientSpanDecorator.java
Most of the other opentracing contrib projects use a SpanDecorator so users can customize the span.
Is there any reason you have hard-coded
JdbcTracingUtils.on*()instead of the SpanDecorator pattern?Examples: