aboutsummaryrefslogtreecommitdiffstats
path: root/config_example.json
diff options
context:
space:
mode:
authorgenofire <geno+dev@fireorbit.de>2019-12-07 16:01:03 +0100
committergenofire <geno+dev@fireorbit.de>2019-12-07 16:01:58 +0100
commita5a39958cc37f1415457d8361d7bcde5c1d34325 (patch)
treedb2ddc0590f9641230ad2a673c2d2da73db98701 /config_example.json
parent39ae668307bebc2069c23ec8542b4271fde94a8e (diff)
improve configuration (with default values) - also for testing ejabberdrpc.py
Diffstat (limited to 'config_example.json')
-rw-r--r--config_example.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/config_example.json b/config_example.json
new file mode 100644
index 0000000..9f9e3d0
--- /dev/null
+++ b/config_example.json
@@ -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,
+ "database": "ejabberd",
+
+ "--comment": "prometheus",
+ "prometheus_port": 8080,
+ "prometheus_refresh": 10
+}