aboutsummaryrefslogtreecommitdiffstats
path: root/ejabberd-metrics.yml.default
blob: db1c89a11034c48853aa3d3e85979e4ee3a0df00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
# 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"
# show debugging log messages
debug: True

# 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"