aboutsummaryrefslogtreecommitdiffstats
path: root/ejabberd-metrics.conf.default
diff options
context:
space:
mode:
Diffstat (limited to 'ejabberd-metrics.conf.default')
-rw-r--r--ejabberd-metrics.conf.default18
1 files changed, 18 insertions, 0 deletions
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
+}