Skip to content

Add API endpoints for Prometheus metrics collection #599

Add API endpoints for Prometheus metrics collection

Add API endpoints for Prometheus metrics collection #599

Triggered via pull request December 28, 2023 03:18
Status Failure
Total duration 1m 32s
Artifacts

main.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

14 errors
test (ubuntu-latest, 1.20): api/api.go#L1
: # go.sia.tech/hostd/api
test (ubuntu-latest, 1.20): api/endpoints.go#L420
metrics.RHPData undefined (type metrics.Metrics has no field or method RHPData) (typecheck)
test (ubuntu-latest, 1.20): cmd/hostd/consts_default.go#L11
expected 'IDENT', found '<<' (typecheck)
test (ubuntu-latest, 1.20): cmd/hostd/consts_default.go#L25
expected ')', found 'EOF' (typecheck)
test (ubuntu-latest, 1.20)
issues found
test (ubuntu-latest, 1.21): api/api.go#L1
: # go.sia.tech/hostd/api
test (ubuntu-latest, 1.21): api/endpoints.go#L420
metrics.RHPData undefined (type metrics.Metrics has no field or method RHPData) (typecheck)
test (ubuntu-latest, 1.21): cmd/hostd/consts_default.go#L11
expected 'IDENT', found '<<' (typecheck)
test (ubuntu-latest, 1.21): cmd/hostd/consts_default.go#L25
expected ')', found 'EOF' (typecheck)
test (ubuntu-latest, 1.21)
issues found
test (macos-latest, 1.20)
The operation was canceled.
test (macos-latest, 1.21)
The operation was canceled.
test (windows-latest, 1.20)
The operation was canceled.
test (windows-latest, 1.21)
The operation was canceled.