Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

postgres_exporter: Explicitly specify the zulip database.

Alex Vandiverfdd811bec162
diff --git a/puppet/zulip_ops/templates/supervisor/conf.d/prometheus_postgres_exporter.conf.template.erb b/puppet/zulip_ops/templates/supervisor/conf.d/prometheus_postgres_exporter.conf.template.erb
index af8963d6ffe..d6bdaa4e13c 100644
--- a/puppet/zulip_ops/templates/supervisor/conf.d/prometheus_postgres_exporter.conf.template.erb
+++ b/puppet/zulip_ops/templates/supervisor/conf.d/prometheus_postgres_exporter.conf.template.erb
@@ -1,6 +1,6 @@
[program:prometheus_postgres_exporter]
-command=<%= @bin %> --auto-discover-databases
-environment=DATA_SOURCE_NAME="postgresql://prometheus@:5432/postgres?host=/var/run/postgresql"
+command=<%= @bin %>
+environment=DATA_SOURCE_NAME="postgresql://prometheus@:5432/zulip?host=/var/run/postgresql"
priority=10
autostart=true
autorestart=true