java-okhttp
java-okhttp copied to clipboard
OpenTracing Okhttp client instrumentation
When using `TracingInterceptor`: > when doing multiple async requests simultaneously, parent spans created before invoking the client are not properly inferred. Does this effect auto-instrumentation projects like [java-specialagent](https://github.com/opentracing-contrib/java-specialagent/tree/v1.6.0/rule/okhttp/src/main/java/io/opentracing/contrib/specialagent/rule/okhttp) and the...
skip some url that to do heart beat. e.g. heart beat, or health check
Use 'set' instead of 'add' to avoid having to setting the same header multiple times causing the export to fail.
Allows subclasses of OkHttpClientSpanDecorator to work
Okhttp client will probably provide a better integration with tracing systems in the future. We should track it and when implemented provide OpenTracing integration. [1]: https://github.com/square/okhttp/issues/270 [2]: https://github.com/square/okhttp/pull/3149