From cf0357197e27d9cb4bf5039606c4b255e1943f46 Mon Sep 17 00:00:00 2001 From: nico Date: Mon, 17 Feb 2020 02:05:33 +0100 Subject: config file location overwrite + add environment toggle to overwrite the config directory setting ejabberd_metrics_dev to 1 / true -> set the config path inside the dev directory --- ejabberd-metrics.conf.default | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ejabberd-metrics.conf.default (limited to 'ejabberd-metrics.conf.default') diff --git a/ejabberd-metrics.conf.default b/ejabberd-metrics.conf.default new file mode 100644 index 0000000..ad984aa --- /dev/null +++ b/ejabberd-metrics.conf.default @@ -0,0 +1,18 @@ +{ + "url": "http://[::1]:5280/api", + "login": { + "user": "metric-user", + "server": "chat.sum7.eu", + "password": "password" + }, + "api": "rest", + + "--comment": "influxdb", + "influxdb_host": "localhost", + "influxdb_port": 8086, + "influxdb_db": "ejabberd", + + "--comment": "prometheus", + "prometheus_port": 8080, + "prometheus_refresh": 10 +} -- cgit v1.2.3-54-g00ecf