addWeaveExporter

fun OpenTelemetryConfig.addWeaveExporter(weaveOtelBaseUrl: String? = null, weaveEntity: String? = null, weaveProjectName: String? = null, weaveApiKey: String? = null, timeout: Duration? = null)(source)

Configures and adds a Weave Exporter to the OpenTelemetry configuration.

Parameters

weaveOtelBaseUrl

Optional base URL for the Weave OpenTelemetry endpoint.

weaveEntity

Optional identifier for the Weave entity.

weaveProjectName

Optional name of the Weave project to associate telemetry data with.

weaveApiKey

Optional API key for authenticating with the Weave service.

timeout

Optional timeout duration for interactions with the Weave endpoint.