pkg/tracing/telemetry.go
Function InitTelemetry
has 5 return statements (exceeds 4 allowed). Open
Open
func InitTelemetry(cirCtx context.Context, addr string, svcName, imName string) (func(), error) {
slog.Debug("Initializing telemetry.", "instrumentationName", imName)
instrumentationName = imName
// Setup context propagation format