diff options
-rw-r--r-- | prometheus_pgbouncer_exporter/cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/prometheus_pgbouncer_exporter/cli.py b/prometheus_pgbouncer_exporter/cli.py index c6f4d24..6e4b5a0 100644 --- a/prometheus_pgbouncer_exporter/cli.py +++ b/prometheus_pgbouncer_exporter/cli.py @@ -50,14 +50,14 @@ def main(): p.add( '--port', default='9127', - help="Port to connect to pgbouncer", + help="Port on which to expose metrics", type=int, env_var='PORT', ) p.add( '--host', default='0.0.0.0', - help="Port to connect to pgbouncer", + help="Host on which to expose metrics", env_var='HOST', ) |