setServiceInfo

fun setServiceInfo(serviceName: String, serviceVersion: String)(source)

Sets the service information for the OpenTelemetry configuration. This information is used to identify the service in telemetry data.

Parameters

serviceName

The name of the service.

serviceVersion

The version of the service.