Package com.spotify.github.tracing
Interface Tracer
-
- All Known Implementing Classes:
BaseTracer
,NoopTracer
,OpenCensusTracer
,OpenCensusTracer
,OpenTelemetryTracer
public interface Tracer
-
-
Method Summary
All Methods Instance Methods Abstract 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)
-
-
-
Method Detail
-
span
Span span(String path, String method, CompletionStage<?> future)
Create scoped span. Span will be closed when future completes.
-
span
Span span(okhttp3.Request request)
-
span
Span span(okhttp3.Request request, CompletionStage<?> future)
-
attachSpanToFuture
void attachSpanToFuture(Span span, CompletionStage<?> future)
-
createTracedClient
okhttp3.Call.Factory createTracedClient(okhttp3.OkHttpClient client)
-
-