From b7e3267134a7602c261fc2e5a30e2cb34bb5bd0f Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 5 Mar 2016 19:14:14 +0000 Subject: Specify and environment variable for the config path --- prometheus_haproxy_log_exporter/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/prometheus_haproxy_log_exporter/cli.py b/prometheus_haproxy_log_exporter/cli.py index 079b7fc..24e085d 100644 --- a/prometheus_haproxy_log_exporter/cli.py +++ b/prometheus_haproxy_log_exporter/cli.py @@ -46,6 +46,7 @@ def get_argument_parser(): '--config', is_config_file=True, help="config file path", + env_var='CONFIG', ) p.add( -- cgit v1.2.3