-
public class DatadogTracingConstants.TracerConfigConfiguration constants for the com.datadog.android.trace.api.tracer.DatadogTracer implementation. These constants define the keys used to configure various tracer settings using java.util.Properties.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringSPAN_TAGSprivate final StringTRACE_RATE_LIMITprivate final StringPARTIAL_FLUSH_MIN_SPANSprivate final StringTRACE_SAMPLE_RATEprivate final StringPROPAGATION_STYLE_EXTRACTprivate final StringPROPAGATION_STYLE_INJECTprivate final StringSERVICE_NAMEprivate final StringSDK_V2_COMPATIBILITY_FLAGprivate final StringURL_AS_RESOURCE_NAMEprivate final StringTAGSpublic final static DatadogTracingConstants.TracerConfigINSTANCE
-
Method Summary
Modifier and Type Method Description final StringgetSPAN_TAGS()The configuration key used to set span-level tags in the tracer. final StringgetTRACE_RATE_LIMIT()Configuration key for setting the trace rate limit in the tracer. final StringgetPARTIAL_FLUSH_MIN_SPANS()A configuration key used to set the minimum number of spans required to trigger a partial flush of trace data. final StringgetTRACE_SAMPLE_RATE()The configuration key used to set the trace sample rate for the tracer. final StringgetPROPAGATION_STYLE_EXTRACT()Constant used to specify the propagation style for extracting context headers during distributed tracing. final StringgetPROPAGATION_STYLE_INJECT()Defines the property key for configuring the propagation style during the injection phase. final StringgetSERVICE_NAME()A constant key used to retrieve or set the service name configuration in the tracer's properties or context. final StringgetSDK_V2_COMPATIBILITY_FLAG()A constant flag used to toggle compatibility with SDK version 2 for the tracer. final StringgetURL_AS_RESOURCE_NAME()A constant representing the configuration key for enabling or disabling the rule that uses URLs as resource names in tracing. final StringgetTAGS()A constant representing the property key used for setting custom global tracer tags. -
-
Method Detail
-
getSPAN_TAGS
final String getSPAN_TAGS()
The configuration key used to set span-level tags in the tracer.
-
getTRACE_RATE_LIMIT
final String getTRACE_RATE_LIMIT()
Configuration key for setting the trace rate limit 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.
-
getPROPAGATION_STYLE_INJECT
final String getPROPAGATION_STYLE_INJECT()
Defines the property key for configuring the propagation style during the injection phase.
-
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.
-
-
-
-