feat: add environment variables for telemetry configuration #8
Annotations
7 errors
|
build
issues found
|
|
build:
pkg/otel/otel.go#L82
error returned from external package is unwrapped: sig: func (*go.opentelemetry.io/otel/sdk/metric.MeterProvider).Shutdown(ctx context.Context) error (wrapcheck)
|
|
build:
pkg/otel/otel.go#L114
return with no blank line before (nlreturn)
|
|
build:
pkg/otel/otel.go#L104
return with no blank line before (nlreturn)
|
|
build:
pkg/otel/otel.go#L86
File is not properly formatted (golines)
|
|
build:
pkg/otel/otel.go#L48
string `true` has 4 occurrences, make it a constant (goconst)
|
|
build:
pkg/otel/otel.go#L32
calculated cyclomatic complexity for function InitGlobalTraceProvider is 12, max is 10 (cyclop)
|