Record Metrics for Reminder #7442
pr.yml
on: pull_request
license-check
/
License boilerplate check
13s
lint
/
Run golangci-lint
2m 52s
lint
/
Uncommitted changes check - go mod tidy & make gen
3m 27s
build
/
Verify build
1m 49s
test
/
Unit testing
8m 37s
test
/
Authz tests
2m 55s
image-build
/
Image build
2m 58s
image-build
/
Build Helm chart
2m 57s
image-build
/
Check docker image build
2m 4s
security
/
Security Scan
18s
compose-migrate
/
docker
2m 24s
Annotations
10 errors
license-check / License boilerplate check
Process completed with exit code 1.
|
lint / Run golangci-lint:
internal/reminder/metrics/metrics.go#L1
package-comments: should have a package comment (revive)
|
lint / Run golangci-lint:
internal/reminder/metrics/metrics.go#L21
exported: exported type Metrics should have comment or be unexported (revive)
|
lint / Run golangci-lint:
internal/reminder/metrics/metrics.go#L37
exported: exported function NewMetrics should have comment or be unexported (revive)
|
lint / Run golangci-lint:
internal/reminder/metrics/metrics.go#L71
exported: exported method Metrics.RecordBatch should have comment or be unexported (revive)
|
lint / Run golangci-lint:
internal/reminder/metrics/metrics.go#L82
exported: exported method Metrics.RecordSendDelay should have comment or be unexported (revive)
|
lint / Run golangci-lint:
internal/reminder/reminder.go#L183
S1012: should use `time.Since` instead of `time.Now().Sub` (gosimple)
|
lint / Run golangci-lint:
pkg/config/reminder/metrics.go#L3
exported: exported type MetricsConfig should have comment or be unexported (revive)
|
lint / Run golangci-lint
issues found
|
test / Unit testing
Process completed with exit code 2.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
mindersec~minder~22Q3OC.dockerbuild
|
30.3 KB |
|