Skip to content

Add-metrics

Add-metrics #4

Triggered via pull request November 23, 2025 12:10
@ATGardnerATGardner
synchronize #1
add-metrics
Status Failure
Total duration 39s
Artifacts

pr-checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
build
issues found
build: pkg/otel/otel.go#L107
missing whitespace above this line (invalid statement above assign) (wsl_v5)
build: pkg/otel/otel.go#L126
return with no blank line before (nlreturn)
build: pkg/otel/otel.go#L116
Magic number: 5, in <argument> detected (mnd)
build: pkg/otel/otel.go#L123
The line is 137 characters long, which exceeds the maximum of 120 characters. (lll)
build: pkg/otel/otel.go#L109
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
build: pkg/otel/otel.go#L73
File is not properly formatted (gci)
build: pkg/otel/otel.go#L125
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
build: pkg/otel/otel.go#L118
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)