diff options
author | Christopher Baines <mail@cbaines.net> | 2016-02-17 11:25:16 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2016-02-17 11:44:05 +0000 |
commit | 4d05cead05a4afd6ae157bf117652dab1b1e0e51 (patch) | |
tree | 8712159ec55699839724118c55089096255af5d9 | |
parent | 4a6299c1a3806b78406bdf36e7f0b89c672f9da0 (diff) | |
download | prometheus-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.
-rw-r--r-- | prometheus_pgbouncer_exporter/cli.py | 1 |
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', ], |