diff options
author | nico <nico@magicbroccoli.de> | 2020-03-06 11:58:01 +0100 |
---|---|---|
committer | nico <nico@magicbroccoli.de> | 2020-03-06 12:46:48 +0100 |
commit | d82744488951d55d5e5a95b41136a5719d8c5534 (patch) | |
tree | f75e0c3bb45d4e172e1a4128fc34f3954e7ec46f /ejabberd-metrics.yml.default | |
parent | c8d88a537d3afdc10618e92ea63dc353a3250058 (diff) |
yaml config
+ implement yaml config file parsing
* update default config file
* update global config file from .conf to .yml ( debatable )
Signed-off-by: nico <nico@magicbroccoli.de>
Diffstat (limited to 'ejabberd-metrics.yml.default')
-rw-r--r-- | ejabberd-metrics.yml.default | 26 |
1 files changed, 26 insertions, 0 deletions
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 |