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 NoopTracer
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attachSpanToFuture(Span span, CompletionStage<?> future)
okhttp3.Call.Factory
createTracedClient(okhttp3.OkHttpClient client)
Span
span(String path, String method)
Span
span(String path, String method, CompletionStage<?> future)
Create scoped span.Span
span(okhttp3.Request request)
Span
span(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:Tracer
Create 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:
attachSpanToFuture
in interfaceTracer
-
createTracedClient
public okhttp3.Call.Factory createTracedClient(okhttp3.OkHttpClient client)
- Specified by:
createTracedClient
in interfaceTracer
-
-