Skip to content

Add-metrics

Add-metrics #1

Triggered via pull request November 23, 2025 12:07
Status Failure
Total duration 51s
Artifacts

pr-checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build
issues found
build: pkg/otel/otel.go#L106
missing whitespace above this line (invalid statement above assign) (wsl_v5)
build: pkg/otel/otel.go#L1
package-comments: should have a package comment (revive)
build: pkg/otel/otel.go#L125
return with no blank line before (nlreturn)
build: pkg/otel/otel.go#L115
Magic number: 5, in <argument> detected (mnd)
build: pkg/otel/otel.go#L122
The line is 137 characters long, which exceeds the maximum of 120 characters. (lll)
build: pkg/otel/otel.go#L108
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
build: pkg/otel/otel.go#L72
File is not properly formatted (gci)
build: pkg/otel/otel.go#L124
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
build: pkg/otel/otel.go#L117
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)