From d82744488951d55d5e5a95b41136a5719d8c5534 Mon Sep 17 00:00:00 2001 From: nico Date: Fri, 6 Mar 2020 11:58:01 +0100 Subject: yaml config + implement yaml config file parsing * update default config file * update global config file from .conf to .yml ( debatable ) Signed-off-by: nico --- ejabberd-metrics.yml.default | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 ejabberd-metrics.yml.default (limited to 'ejabberd-metrics.yml.default') diff --git a/ejabberd-metrics.yml.default b/ejabberd-metrics.yml.default new file mode 100644 index 0000000..41487e0 --- /dev/null +++ b/ejabberd-metrics.yml.default @@ -0,0 +1,26 @@ +--- +# endpoint url +url: "http://[::1]:5280/api" + +# user credentials to the endpoint url +login: + user: "metric-user" + server: "chat.sum7.eu" + password: "password" + +# muc subdomain +# default : "conference" +muc_host: "chat" + +# api configuration +# default : rpc +api: "rest" + +# influx db configuration +influxdb_host: "localhost" +influxdb_port: 8086 +influxdb_db: "example" + +# prometheus configuration +prometheus_port: 8080 +prometheus_refresh: 10 -- cgit v1.2.3-54-g00ecf