aboutsummaryrefslogtreecommitdiff
path: root/prometheus_pgbouncer_exporter
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2016-02-17 11:25:16 +0000
committerChristopher Baines <mail@cbaines.net>2016-02-17 11:44:05 +0000
commit4d05cead05a4afd6ae157bf117652dab1b1e0e51 (patch)
tree8712159ec55699839724118c55089096255af5d9 /prometheus_pgbouncer_exporter
parent4a6299c1a3806b78406bdf36e7f0b89c672f9da0 (diff)
downloadprometheus-pgbouncer-exporter-4d05cead05a4afd6ae157bf117652dab1b1e0e51.tar
prometheus-pgbouncer-exporter-4d05cead05a4afd6ae157bf117652dab1b1e0e51.tar.gz
Make prog explicit
Such that you get the same output when invoking the module directly.
Diffstat (limited to 'prometheus_pgbouncer_exporter')
-rw-r--r--prometheus_pgbouncer_exporter/cli.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/prometheus_pgbouncer_exporter/cli.py b/prometheus_pgbouncer_exporter/cli.py
index acadd6f..5a78fc6 100644
--- a/prometheus_pgbouncer_exporter/cli.py
+++ b/prometheus_pgbouncer_exporter/cli.py
@@ -31,6 +31,7 @@ from .collectors import StatsCollector, ListsCollector, PoolsCollector, \
def main():
p = configargparse.ArgParser(
+ prog="prometheus-pgbouncer-exporter",
default_config_files=[
'/etc/prometheus-pgbouncer-exporter/config',
],