Skip to content

PMM-12913 Migrate api endpoints to REST #7047

PMM-12913 Migrate api endpoints to REST

PMM-12913 Migrate api endpoints to REST #7047

Triggered via pull request April 11, 2024 08:50
Status Failure
Total duration 6m 51s
Artifacts

main.yml

on: pull_request
Merge Gatekeeper
17s
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/agent_helpers.go#L679
string ` it doesn't support it, minimum supported version=%q` has 3 occurrences, make it a constant (goconst)
Checks: managed/models/agent_model.go#L444
string `.TextFiles.` has 5 occurrences, make it a constant (goconst)
Checks: managed/models/agent_helpers.go#L678
string `cannot use push_metrics_enabled with pmm_agent version=%q,` has 3 occurrences, make it a constant (goconst)
Checks: managed/services/supervisord/supervisord.go#L537
string `.ini` has 3 occurrences, make it a constant (goconst)
Checks: qan-api2/services/analytics/object_details.go#L183
string `_sum` has 4 occurrences, make it a constant (goconst)
Checks: qan-api2/services/analytics/object_details.go#L182
string `_cnt` has 3 occurrences, make it a constant (goconst)
Checks: agent/runner/jobs/mysql_backup_job.go#L151
string `--target-dir=` has 4 occurrences, make it a constant (goconst)
Checks: agent/runner/jobs/pbm_helpers.go#L183
string `--mongodb-uri=` has 3 occurrences, make it a constant (goconst)
Checks: managed/services/agents/node.go#L124
string `|pgpg(in|out)|pswp(in|out)|pgm?a?j?fault)$` has 3 occurrences, make it a constant (goconst)
Checks: managed/services/agents/postgresql.go#L69
string `/collectors/custom-queries/postgresql/medium-resolution` has 8 occurrences, make it a constant (goconst)