aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2016-02-27 18:37:07 +0000
committerChristopher Baines <mail@cbaines.net>2016-02-27 18:37:53 +0000
commit6edbe4898199063e2937363d0942f555fa349827 (patch)
treeb8cb9fcb9dcde6b1674893b62c74ff48bdd26b51
parentf4585e65716404c8ee5ad22758b8967dad1966e7 (diff)
downloadprometheus-pgbouncer-exporter-6edbe4898199063e2937363d0942f555fa349827.tar
prometheus-pgbouncer-exporter-6edbe4898199063e2937363d0942f555fa349827.tar.gz
Add an example configuration file
-rw-r--r--prometheus-pgbouncer-exporter.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/prometheus-pgbouncer-exporter.conf b/prometheus-pgbouncer-exporter.conf
new file mode 100644
index 0000000..7f8cbfd
--- /dev/null
+++ b/prometheus-pgbouncer-exporter.conf
@@ -0,0 +1,24 @@
+# The configuration for the prometheus-pgbouncer-exporter can be specified in
+# the command line arguments, environmental variables, or a configuration file.
+#
+# By default, this file contains comments detailing some of the the default
+# configuration values. If you don't want to use the default, uncomment and
+# change the configuration value.
+
+# Host on which to expose metrics
+#host = 0.0.0.0
+
+# Port to connect to pgbouncer
+#pgbouncer-port = 6432
+
+# User to connect to pgbouncer with
+#pgbouncer-user = pgbouncer
+
+# Host on which to connect to pgbouncer, default is to connect to via a socket
+# to the local machine
+#pgbouncer-host =
+
+# Databases to report metrics for, if this is not specified, all metrics will
+# be reported. For example, if you want to export data from the pgbouncer and
+# test databases:
+#database = [pgbouncer, test]