Initialize metrics with labels #7145
Annotations
4 errors and 2 warnings
Run golangci-lint:
pkg/reader/exec/exec.go#L16
SA1019: api.EventExecveAt is deprecated: EventExecveAt indicates the event is generated by an execveAt syscall (staticcheck)
|
Run golangci-lint:
pkg/testutils/perfring/perfring.go#L107
SA4023(related information): the lhs of the comparison gets its value from here and has a concrete type (staticcheck)
|
Run golangci-lint:
pkg/testutils/perfring/perfring.go#L108
SA4023: this comparison is always true (staticcheck)
|
Run golangci-lint
issues found
|
Run golangci-lint:
pkg/metrics/bpfmetric.go#L29
unexported-return: exported func NewBPFCounterFromOpts returns unexported type *metrics.bpfCounter, which can be annoying to use (revive)
|
Run golangci-lint:
pkg/observer/observer.go#L96
unexported-return: exported func HandlePerfData returns unexported type *observer.handlePerfError, which can be annoying to use (revive)
|
The logs for this run have expired and are no longer available.
Loading