test: add test to measure rate of growth of metrics #4612
Annotations
9 errors and 1 warning
golangci-lint:
test/e2e/framework/metrics/query-publish.go#L140
Error return value of `file.Write` is not checked (errcheck)
|
golangci-lint:
test/e2e/framework/metrics/query-publish.go#L141
Error return value of `file.WriteString` is not checked (errcheck)
|
golangci-lint:
test/e2e/framework/metrics/query-publish.go#L80
commentedOutCode: may want to remove commented-out code (gocritic)
|
golangci-lint:
test/e2e/framework/metrics/query-publish.go#L90
var-naming: var promApi should be promAPI (revive)
|
golangci-lint:
test/e2e/growth_metrics_test.go#L20
var-naming: func parameter subscriptionId should be subscriptionID (revive)
|
golangci-lint:
test/e2e/growth_metrics_test.go#L35
var-naming: var portForwardId should be portForwardID (revive)
|
golangci-lint:
test/e2e/growth_metrics_test.go#L36
var-naming: var metricsStepId should be metricsStepID (revive)
|
golangci-lint:
test/e2e/framework/metrics/query-publish.go#L163
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"retinaVersion is required in AdditionalTelemetryProperty\")" (err113)
|
golangci-lint
issues found
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading