Package 

Object Trace


  • 
    public class Trace
    
                        

    An entry point to Datadog Traces feature.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static Trace INSTANCE
    • Method Summary

      Modifier and Type Method Description
      final static Unit enable(TraceConfiguration traceConfiguration, SdkCore sdkCore) Enables a Traces feature based on the configuration provided.
      final static Unit enable(TraceConfiguration traceConfiguration) Enables a Traces feature based on the configuration provided.
      • Methods inherited from class java.lang.Object

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

      • enable

        @JvmOverloads() final static Unit enable(TraceConfiguration traceConfiguration, SdkCore sdkCore)

        Enables a Traces feature based on the configuration provided.

        Parameters:
        traceConfiguration - Configuration to use for the feature.
        sdkCore - SDK instance to register feature in.
      • enable

        @JvmOverloads() final static Unit enable(TraceConfiguration traceConfiguration)

        Enables a Traces feature based on the configuration provided.

        Parameters:
        traceConfiguration - Configuration to use for the feature.