-
Notifications
You must be signed in to change notification settings - Fork 27
/
config.yml
37 lines (32 loc) · 941 Bytes
/
config.yml
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
---
bind: 127.0.0.1
port: 8125
# Flush interval should be your finest retention in seconds
flush_interval: 10
# Graphite
graphite_host: localhost
graphite_port: 2003
# Mongo
mongo_host: localhost
mongo_database: statsdb
# If you change these, you need to delete the capped collections yourself!
# Average mongo record size is 152 bytes
# 10s or 1min data is transient so we'll use MongoDB's capped collections. These collections are fixed in size.
# 5min and 1d data is interesting to preserve long-term. These collections are not capped.
retentions:
- name: stats_per_10s
seconds: 10
capped: true
cap_bytes: 268_435_456 # 2**28
- name: stats_per_1min
seconds: 60
capped: true
cap_bytes: 1_073_741_824 # 2**30
- name: stats_per_5min
seconds: 600
cap_bytes: 0
capped: false
- name: stats_per_day
seconds: 86400
cap_bytes: 0
capped: false