From b12129f0da219291e52b1725dae24528c882a55e Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 24 Dec 2015 10:59:02 +0000 Subject: Initial commit --- prometheus-pgbouncer-exporter.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 prometheus-pgbouncer-exporter.service (limited to 'prometheus-pgbouncer-exporter.service') diff --git a/prometheus-pgbouncer-exporter.service b/prometheus-pgbouncer-exporter.service new file mode 100644 index 0000000..e6269af --- /dev/null +++ b/prometheus-pgbouncer-exporter.service @@ -0,0 +1,11 @@ +[Unit] +Description=Expose data from pgbouncer for collection by Prometheus +Requires=pgbouncer.service +After=pgbouncer.service + +[Service] +User=postgres +ExecStart=/usr/bin/prometheus-pgbouncer-exporter + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3