vorteil/direktiv

View on GitHub
pkg/tracing/telemetry.go

Summary

Maintainability
A
35 mins
Test Coverage

Function InitTelemetry has 5 return statements (exceeds 4 allowed).
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
Severity: Major
Found in pkg/tracing/telemetry.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status