This repository was archived by the owner on Feb 3, 2026. It is now read-only.
add opentelemetry tracing instrumentation #63
Annotations
9 errors
|
lint-and-test
issues found
|
|
lint-and-test:
internal/tracing/tracing.go#L90
SA1019: trace.NewNoopTracerProvider is deprecated: Use [go.opentelemetry.io/otel/trace/noop.NewTracerProvider] instead. (staticcheck)
|
|
lint-and-test:
internal/tracing/tracing.go#L82
exported: exported function Initialize should have comment or be unexported (revive)
|
|
lint-and-test:
internal/tracing/tracing.go#L51
exported: exported function NewConfigFromEnv should have comment or be unexported (revive)
|
|
lint-and-test:
internal/tracing/tracing.go#L44
exported: exported type Config should have comment or be unexported (revive)
|
|
lint-and-test:
internal/tracing/tracing.go#L36
exported: exported const ServiceName should have comment (or a comment on this block) or be unexported (revive)
|
|
lint-and-test:
internal/tracing/tracing.go#L17
package-comments: should have a package comment (revive)
|
|
lint-and-test:
internal/tracing/tracing.go#L38
File is not properly formatted (gofmt)
|
|
lint-and-test:
internal/tracing/tracing.go#L127
Error return value of `tp.Shutdown` is not checked (errcheck)
|