Package 

Class TracingInterceptor.Builder

    • Method Summary

      Modifier and Type Method Description
      final TracingInterceptor.Builder setTraceOrigin(String traceOrigin) Set the origin of the trace.
      TracingInterceptor build() Build the interceptor.
      • Methods inherited from class com.datadog.android.okhttp.trace.TracingInterceptor.Builder

        set404ResourcesRedacted, setSdkInstanceName, setTraceContextInjection, setTraceSampleRate, setTraceSampler, setTracedRequestListener
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TracingInterceptor.Builder

        TracingInterceptor.Builder(List<String> tracedHosts)
      • TracingInterceptor.Builder

        TracingInterceptor.Builder(Map<String, Set<TracingHeaderType>> tracedHostsWithHeaderType)
        Parameters:
        tracedHostsWithHeaderType - a list of all the hosts and header types that you want to be automatically tracked by this interceptor.