Skip to content

PMM-9374 external victoria metrics #4074

PMM-9374 external victoria metrics

PMM-9374 external victoria metrics #4074

Triggered via pull request August 30, 2023 21:29
Status Failure
Total duration 10m 41s
Artifacts

main.yml

on: pull_request
Merge Gatekeeper
25s
Merge Gatekeeper
Slack Notification success
0s
Slack Notification success
Slack Notification failure
7s
Slack Notification failure
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Checks: managed/models/victoriametrics_params.go#L48
assignOp: replace `vmURL = vmURL + "/"` with `vmURL += "/"` (gocritic)
Checks: managed/services/management/ia/rules_service.go#L377
`if req.TemplateName != ""` has complex nested blocks (complexity: 7) (nestif)
Checks: agent/agents/mysql/perfschema/perfschema.go#L58
field `rw` is unused (unused)
Checks: agent/agents/mysql/perfschema/perfschema.go#L62
func `(*PerfSchema).mySQLVersion` is unused (unused)
Checks: managed/utils/envvars/parser.go#L163
ineffectual assignment to err (ineffassign)
Checks: managed/utils/envvars/parser.go#L72
Function name: ParseEnvVars, Cyclomatic Complexity: 50, Halstead Volume: 4128.01, Maintainability Index: 18 (maintidx)
Checks: managed/cmd/pmm-managed/main.go#L84
SA1019: "github.com/percona/pmm/managed/services/config" is deprecated: please don't extend this package, it will be removed soon https://jira.percona.com/browse/PMM-11155 (staticcheck)
Checks: managed/services/backup/pitr_timerange_service.go#L254
SA1019: primitive.CompareTimestamp is deprecated: Use Timestamp.Compare instead. (staticcheck)
Checks: managed/services/dbaas/kubernetes/kubernetes.go#L829
SA1019: wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
Checks: managed/services/dbaas/kubernetes/kubernetes.go#L880
SA1019: wait.Poll is deprecated: This method does not return errors from context, use PollUntilContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)