ejabberd-tools/ejabberd-metrics.yml.default

49 lines
1001 B
Plaintext

---
# 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"
# enable debug log messages
debug: false
# influx db configuration
influxdb_host: "localhost"
influxdb_port: 8086
influxdb_db: "example"
# prometheus configuration
prometheus_address: "127.0.0.1"
prometheus_port: 8080
prometheus_cache_ttl: 10
# cleaner for users
cleaner_dry: True # just test run (only loggging output)
# skip remove of user if client has a roster
cleaner_skip_by_roster: True
# delete user if it was only registered but has never login
cleaner_delete_not_login: True
# delete user if the are offline for x days
cleaner_offline_since_days: 7
# ignore cleanup for host
cleaner_ignore_hosts:
- "meckerspace.de"
# ignore cleanup for username
cleaner_ignore_usernames:
- "admin"
- "abuse"
- "bugs"
- "bot"