Skip to content

Commit

Permalink
PMM-12375 revert changes, move to other PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Tymchuk committed Sep 26, 2023
1 parent aebc4d8 commit b345c2e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 17 deletions.
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
* @percona/pmm-review-be
/build/ @atymchuk @percona/pmm-review-be
/admin/ @percona/pmm-review-be
/agent/agents/postgres/ @JiriCtvrtka @percona/pmm-review-be
/agent/runner/ @artemgavrilov @percona/pmm-review-be
/api/ @BupycHuk @percona/pmm-review-be
/docs/api/ @atymchuk @percona/pmm-review-be
/managed/services/checks/ @idoqo @percona/pmm-review-be
/managed/ @percona/pmm-review-be
/managed/services/dbaas @gen1us2k @recharte @percona/pmm-review-be
/managed/services/management/dbaas @gen1us2k @recharte @percona/pmm-review-be
/update/ @BupycHuk @talhabinrizwan @percona/pmm-review-be
/api-tests/ @percona/pmm-review-be
**/go.mod @percona/pmm-review-dependency @percona/pmm-review-be
**/Dockerfile @percona/pmm-review-dependency @percona/pmm-review-be
/cli-tests/package.json @percona/pmm-review-dependency @yurkovychv
Expand Down
4 changes: 0 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,8 @@ linters:
- maligned # deprecated
- nlreturn # too annoying
- nosnakecase # deprecated
- rowserrcheck # disabled because of generics
- scopelint # too many false positives
- structcheck # replaced by unused
- varcheck # replaced by unused
- varnamelen # useless
- wastedassign # disabled because of generics
- wrapcheck # we do not use wrapping everywhere
- wsl # too annoying

Expand Down
2 changes: 1 addition & 1 deletion agent/runner/jobs/pbm_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ func waitForPBMBackup(ctx context.Context, l logrus.FieldLogger, dbURL *string,
return nil
case "canceled":
return errors.New("backup was canceled")
case "error":
case "error": //nolint:goconst
return errors.New(info.Error)
}

Expand Down
2 changes: 1 addition & 1 deletion managed/services/management/grpc/mysql_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/percona/pmm/managed/services/management"
)

// TODO merge into ../mysql.go.
// TODO merge into ../mysql.go

Check failure on line 25 in managed/services/management/grpc/mysql_server.go

View workflow job for this annotation

GitHub Actions / Checks

Comment should end in a period (godot)
type mySQLServer struct {
svc *management.MySQLService

Expand Down
11 changes: 0 additions & 11 deletions managed/services/telemetry/config.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -936,14 +936,3 @@ telemetry:
data:
- metric_name: "postgresql_db_count"
value: 1

- id: PMM
source: ENVVAR
# query: count by (service_id) (pg_stat_database_tup_fetched{service_name!="pmm-server-postgresql", datname!~"template.*|postgres", datid!="0"})
struct:
- PMM_TEST_AJKHKHK_HKHJKHJ
-
summary: "Number of databases monitored per PostgreSQL server"
data:
- metric_name: "postgresql_db_count"
value: 1

0 comments on commit b345c2e

Please sign in to comment.