fix(heartbeat): add nil check in heartbeat's metricscardinality #5017
Annotations
9 errors
golangci-lint:
pkg/telemetry/telemetry_test.go#L149
Error return value of `simpleCounter.Write` is not checked (errcheck)
|
golangci-lint:
pkg/telemetry/telemetry_test.go#L158
Error return value of `histogram3buckets.Write` is not checked (errcheck)
|
golangci-lint:
pkg/telemetry/telemetry_test.go#L167
Error return value of `histogram5buckets.Write` is not checked (errcheck)
|
golangci-lint:
pkg/telemetry/telemetry_test.go#L176
Error return value of `summary.Write` is not checked (errcheck)
|
golangci-lint:
pkg/telemetry/telemetry_test.go#L126
Metric: test_counter Error: counter metrics should have "_total" suffix (promlinter)
|
golangci-lint:
pkg/telemetry/telemetry_test.go#L131
Metric: 3buckets_histogram Error: metric name should not include type 'histogram' (promlinter)
|
golangci-lint:
pkg/telemetry/telemetry_test.go#L137
Metric: 5buckets_histogram Error: metric name should not include type 'histogram' (promlinter)
|
golangci-lint:
pkg/telemetry/telemetry_test.go#L142
Metric: test_summary Error: metric name should not include type 'summary' (promlinter)
|
golangci-lint
issues found
|
Loading