From ab6114a32013690cbc1609cd23a4c339321751ca Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 27 Feb 2016 19:05:13 +0000 Subject: Allow the config file location to be set via a environmental variable --- prometheus_pgbouncer_exporter/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/prometheus_pgbouncer_exporter/cli.py b/prometheus_pgbouncer_exporter/cli.py index a0b023f..4f55f1e 100644 --- a/prometheus_pgbouncer_exporter/cli.py +++ b/prometheus_pgbouncer_exporter/cli.py @@ -45,6 +45,7 @@ def main(): '--config', is_config_file=True, help='config file path', + env_var='CONFIG', ) p.add( -- cgit v1.2.3