/
config.toml
41 lines (29 loc) · 847 Bytes
/
config.toml
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
# The server listens at this address.
listen_addr = ":9000"
# Send statsd messages to this address.
statsd_addr = "localhost:8125"
# The process will set RLIMIT_NOFILE to this value.
open_file_limit = 20000
database_dir = "db"
# Flush to disk at least this frequently.
flush_interval = "10s"
# Run this many interval scans in parallel.
query_parallelism = 4
# Delete data older than this.
retention_days = 7
[schema]
# DB segments are no larger than this
segment_size = "1MB"
# Data is partitioned into time intervals this large.
interval_duration = "1h"
# Every row must have a timestamp column. This is the name of that column.
timestamp_column = ["at", "uint32"]
dimension_columns = [
["name", "string:uint16"],
["country", "string:uint8"],
["age", "uint8"]
]
metric_columns = [
["visits", "uint8"],
["clicks", "uint8"]
]