aboutsummaryrefslogtreecommitdiffstats
path: root/ejabberd-metrics.yml.default
diff options
context:
space:
mode:
authorMartin/Geno <geno+dev@fireorbit.de>2020-03-07 11:06:17 +0100
committerMartin/Geno <geno+dev@fireorbit.de>2020-03-07 11:06:17 +0100
commit1a3782ce974cdee6a6f3ab4deb2dffd4dd7b7bef (patch)
treef75e0c3bb45d4e172e1a4128fc34f3954e7ec46f /ejabberd-metrics.yml.default
parentc8d88a537d3afdc10618e92ea63dc353a3250058 (diff)
parentd82744488951d55d5e5a95b41136a5719d8c5534 (diff)
Merge branch 'yaml' into 'master'
yaml config See merge request sum7/ejabberd-metrics!4
Diffstat (limited to 'ejabberd-metrics.yml.default')
-rw-r--r--ejabberd-metrics.yml.default26
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