diff options
author | genofire <geno+dev@fireorbit.de> | 2019-12-07 16:01:03 +0100 |
---|---|---|
committer | genofire <geno+dev@fireorbit.de> | 2019-12-07 16:01:58 +0100 |
commit | a5a39958cc37f1415457d8361d7bcde5c1d34325 (patch) | |
tree | db2ddc0590f9641230ad2a673c2d2da73db98701 /config_example.json | |
parent | 39ae668307bebc2069c23ec8542b4271fde94a8e (diff) |
improve configuration (with default values) - also for testing ejabberdrpc.py
Diffstat (limited to 'config_example.json')
-rw-r--r-- | config_example.json | 18 |
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 +} |