Skip to content
Snippets Groups Projects

Remove redundant postgres exporter custom queries

Merged Clemens Beck requested to merge fix-pg-exporter-replication-metrics into master
@@ -98,7 +98,7 @@ RSpec.describe 'monitoring::postgres-exporter' do
it 'creates the queries.yaml file' do
expect(chef_run).to render_file('/var/opt/gitlab/postgres-exporter/queries.yaml')
.with_content { |content|
expect(content).to match(/pg_total_replication_size:/)
expect(content).to match(/pg_total_relation_size:/)
expect(content).not_to match(/pg_blocked:/)
}
end
Loading