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: https://github.com/prometheus-community/postgres_exporter/pull/801 Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8164 Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8112 Changelog: fixed
parent
1fe669d21f7e
No related branches found
No related tags found
Showing
- files/gitlab-config-template/gitlab.rb.template 4 additions, 2 deletionsfiles/gitlab-config-template/gitlab.rb.template
- files/gitlab-cookbooks/monitoring/attributes/default.rb 5 additions, 1 deletionfiles/gitlab-cookbooks/monitoring/attributes/default.rb
- files/gitlab-cookbooks/monitoring/recipes/postgres-exporter.rb 2 additions, 1 deletion.../gitlab-cookbooks/monitoring/recipes/postgres-exporter.rb
- files/gitlab-cookbooks/monitoring/templates/postgres-queries.yaml.erb 0 additions, 94 deletions...-cookbooks/monitoring/templates/postgres-queries.yaml.erb
- files/gitlab-cookbooks/package/libraries/deprecations.rb 7 additions, 1 deletionfiles/gitlab-cookbooks/package/libraries/deprecations.rb
- spec/chef/cookbooks/monitoring/recipes/postgres_exporter_spec.rb 16 additions, 7 deletions...ef/cookbooks/monitoring/recipes/postgres_exporter_spec.rb
Loading
Please register or sign in to comment