-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove redundant postgres exporter custom queries
Postgres-exporter 13.0 moved queries from the default queries.yaml to collectors. The newly implemented collectors conflict with the custom queries.yaml from Omnibus, causing errors like: ``` An error has occurred while serving metrics: collected metric pg_replication_is_replica gauge:{value:0} has help "Indicates if the server is a replica" but should have "Indicates if this host is a slave" ``` Upstream MR: prometheus-community/postgres_exporter#801 Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8164 Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8112 Changelog: fixed
- Loading branch information
Clemens Beck
authored and
Robert Marshall
committed
Sep 14, 2023
1 parent
c74c850
commit bec8913
Showing
6 changed files
with
34 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
94 changes: 0 additions & 94 deletions
94
files/gitlab-cookbooks/monitoring/templates/postgres-queries.yaml.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters