Skip to content

Add an option to expose Prometheus metrics via http/s server #1323

Add an option to expose Prometheus metrics via http/s server

Add an option to expose Prometheus metrics via http/s server #1323

Triggered via pull request August 21, 2024 07:48
Status Failure
Total duration 2m 30s
Artifacts

ci.yaml

on: pull_request
yamllint  /  yamllint
10s
yamllint / yamllint
golangci-lint  /  golangci-lint
1m 9s
golangci-lint / golangci-lint
exclude-fmt-errorf  /  exclude-fmt-errorf
4s
exclude-fmt-errorf / exclude-fmt-errorf
restrict-nsm-deps  /  restrict-nsm-deps
3s
restrict-nsm-deps / restrict-nsm-deps
checkgomod  /  checkgomod
37s
checkgomod / checkgomod
exclude-replace  /  excludereplace
3s
exclude-replace / excludereplace
Capture CI Run Env
0s
Capture CI Run Env
Matrix: build-and-test / build-and-test
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
golangci-lint / golangci-lint: pkg/networkservice/metrics/stats/prometheus.go#L74
don't use `init` function (gochecknoinits)
golangci-lint / golangci-lint: pkg/networkservice/metrics/stats/common.go#L53
string `server_` has 2 occurrences, make it a constant (goconst)
golangci-lint / golangci-lint: pkg/networkservice/metrics/stats/prometheus.go#L1
Missed header for check (goheader)
golangci-lint / golangci-lint
issues found
golangci-lint / golangci-lint: pkg/networkservice/metrics/stats/prometheus.go#L9
exported: exported var ClientRxBytes should have comment or be unexported (revive)