Skip to content

feat(webserver): add Prometheus #279

feat(webserver): add Prometheus

feat(webserver): add Prometheus #279

Triggered via push July 5, 2024 12:59
Status Failure
Total duration 56s
Artifacts

go.yml

on: push
Matrix: lint
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 4 warnings
lint (1.21): cmd/config.go#L12
could not import github.com/FreifunkBremen/yanic/webserver (-: # github.com/FreifunkBremen/yanic/webserver
lint (1.21): webserver/prometheus.go#L452
not enough arguments in call to prometheus.NewConstMetric
lint (1.21): webserver/prometheus.go#L474
not enough arguments in call to prometheus.NewConstMetric
lint (1.21): webserver/prometheus.go#L496
not enough arguments in call to prometheus.NewConstMetric
lint (1.21): webserver/prometheus.go#L518
not enough arguments in call to prometheus.NewConstMetric
lint (1.21): webserver/prometheus.go#L540
not enough arguments in call to prometheus.NewConstMetric
lint (1.21): webserver/config.go#L1
: # github.com/FreifunkBremen/yanic/webserver [github.com/FreifunkBremen/yanic/webserver.test]
lint (1.21): webserver/prometheus.go#L452
not enough arguments in call to prometheus.NewConstMetric
lint (1.21): webserver/prometheus.go#L474
not enough arguments in call to prometheus.NewConstMetric
lint (1.21): webserver/prometheus.go#L496
not enough arguments in call to prometheus.NewConstMetric
test (1.21): webserver/prometheus.go#L452
not enough arguments in call to prometheus.NewConstMetric
test (1.21): webserver/prometheus.go#L474
not enough arguments in call to prometheus.NewConstMetric
test (1.21): webserver/prometheus.go#L496
not enough arguments in call to prometheus.NewConstMetric
test (1.21): webserver/prometheus.go#L518
not enough arguments in call to prometheus.NewConstMetric
test (1.21): webserver/prometheus.go#L540
not enough arguments in call to prometheus.NewConstMetric
test (1.21)
Process completed with exit code 2.
lint (1.21)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint (1.21)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v2, actions/cache@v2, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (1.21)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test (1.21)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/