OpenTracing instrumentation for OkHttp client.
Preferred way how to instrument OkHttpClient is to use TracingCallFactory:
Call.Factory client = new TracingCallFactory(okHttpClient, tracer);
client.newCall(request)...or use OkHttpClient directly. However when doing multiple async requests simultaneously, parent spans created before invoking the client are not properly inferred.
OkHttpClient client = TracingInterceptor.addTracing(new OkHttpClient.Builder(), tracer)
client.newCall(request)..../mvnw clean installFollow instructions in RELEASE