addDatadogExporter

fun addDatadogExporter(datadogApiKey: String? = null, url: String? = null, timeout: Duration? = null, resourceAttributes: Map<String, String>? = null)(source)

Java-friendly entry point for the Datadog integration. Mirrors the commonMain addDatadogExporter but accepts java.time.Duration for timeout so Java callers can pass every parameter - the commonMain overload uses kotlin.time.Duration, whose value-class JVM-name mangling makes the resourceAttributes argument unreachable from Java.

See also