Package 

Class DatadogInterceptor.Builder

    • Method Summary

      Modifier and Type Method Description
      DatadogInterceptor build() Builds the DatadogInterceptor.
      final DatadogInterceptor.Builder setRumResourceAttributesProvider(RumResourceAttributesProvider rumResourceAttributesProvider) Sets the RumResourceAttributesProvider to use to provide custom attributes to the RUM.
      • Methods inherited from class com.datadog.android.okhttp.DatadogInterceptor.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

      • DatadogInterceptor.Builder

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

        DatadogInterceptor.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.