Trace - DataDog/dd-sdk-android GitHub Wiki

object Trace

An entry point to Datadog Traces feature.

Functions

enable

@JvmOverloads

@JvmStatic

fun enable(traceConfiguration: TraceConfiguration, sdkCore: SdkCore = Datadog.getInstance())

Enables a Traces feature based on the configuration provided.

Parameters
traceConfiguration Configuration to use for the feature.
sdkCore SDK instance to register feature in. If not provided, default SDK instance will be used.