aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--prometheus_haproxy_log_exporter/cli.py1
1 files changed, 1 insertions, 0 deletions
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(