aboutsummaryrefslogtreecommitdiffstats
path: root/ejabberd-metrics.conf.default
diff options
context:
space:
mode:
authornico <nico@magicbroccoli.de>2020-02-17 02:05:33 +0100
committernico <nico@magicbroccoli.de>2020-02-17 02:05:44 +0100
commitcf0357197e27d9cb4bf5039606c4b255e1943f46 (patch)
tree8eb9f9d15fd0dbeaaccde3b42f1bd6df4aca3f8f /ejabberd-metrics.conf.default
parent89176536adad6e16de10f16cc56826814a90d02e (diff)
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
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
+}