Package 

Object DatadogTracingConstants.TracerConfig

    • Method Detail

      • getSPAN_TAGS

         final String getSPAN_TAGS()

        The configuration key used to set span-level tags in the tracer.

      • getPARTIAL_FLUSH_MIN_SPANS

         final String getPARTIAL_FLUSH_MIN_SPANS()

        A configuration key used to set the minimum number of spans required to trigger a partial flush of trace data.

      • getTRACE_SAMPLE_RATE

         final String getTRACE_SAMPLE_RATE()

        The configuration key used to set the trace sample rate for the tracer.

      • getPROPAGATION_STYLE_EXTRACT

         final String getPROPAGATION_STYLE_EXTRACT()

        Constant used to specify the propagation style for extracting context headers during distributed tracing.

      • getSERVICE_NAME

         final String getSERVICE_NAME()

        A constant key used to retrieve or set the service name configuration in the tracer's properties or context.

      • getSDK_V2_COMPATIBILITY_FLAG

         final String getSDK_V2_COMPATIBILITY_FLAG()

        A constant flag used to toggle compatibility with SDK version 2 for the tracer.

        When this flag is enabled (set to "true"), the SDK adjusts its behavior of a sampler factory, making it same sampler as in SDK v2...

        This flag only being used by OTel tracer implementation and disabled by default.

      • getURL_AS_RESOURCE_NAME

         final String getURL_AS_RESOURCE_NAME()

        A constant representing the configuration key for enabling or disabling the rule that uses URLs as resource names in tracing.

      • getTAGS

         final String getTAGS()

        A constant representing the property key used for setting custom global tracer tags.