Package com.spotify.github.v3.clients
Class NoopTracer
- java.lang.Object
-
- com.spotify.github.v3.clients.NoopTracer
-
-
Field Summary
Fields Modifier and Type Field Description static NoopTracerINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattachSpanToFuture(Span span, CompletionStage<?> future)okhttp3.Call.FactorycreateTracedClient(okhttp3.OkHttpClient client)Spanspan(String path, String method)Spanspan(String path, String method, CompletionStage<?> future)Create scoped span.Spanspan(okhttp3.Request request)Spanspan(okhttp3.Request request, CompletionStage<?> future)
-
-
-
Field Detail
-
INSTANCE
public static final NoopTracer INSTANCE
-
-
Method Detail
-
span
public Span span(String path, String method, CompletionStage<?> future)
Description copied from interface:TracerCreate scoped span. Span will be closed when future completes.
-
span
public Span span(okhttp3.Request request, CompletionStage<?> future)
-
attachSpanToFuture
public void attachSpanToFuture(Span span, CompletionStage<?> future)
- Specified by:
attachSpanToFuturein interfaceTracer
-
createTracedClient
public okhttp3.Call.Factory createTracedClient(okhttp3.OkHttpClient client)
- Specified by:
createTracedClientin interfaceTracer
-
-