1
- log-level = 2
2
- addr = :80
1
+ graphite-url = http://metrictank:8080
2
+ metrictank-url = http://metrictank:6060
3
+
4
+ # auth
5
+ auth-file-path = /etc/gw/auth.ini
3
6
admin-key = not_very_secret_key
7
+
8
+ # api
9
+ addr = :80
4
10
api-auth-plugin = file
11
+ ssl = false
12
+ cert-file =
13
+ key-file =
5
14
6
- kafka-tcp-addr = kafka:9092
15
+ # carbon ingest
16
+ carbon-enabled = false
17
+ carbon-addr = 0.0.0.0:2003
18
+ carbon-auth-plugin = file
19
+ carbon-flush-interval = 1s
20
+ carbon-concurrency = 1
21
+ carbon-buffer-size = 100000
22
+ carbon-non-blocking-buffer = false
7
23
24
+ # kafka publisher
25
+ kafka-tcp-addr = kafka:9092
8
26
metrics-topic = mdm
9
- metrics-kafka-comp = none
27
+ metrics-kafka-comp = snappy
10
28
metrics-publish = true
11
29
metrics-partition-scheme = bySeries
12
- metrics-max-in-flight = 1000000
13
- metrics-buffer-max-msgs = 100000
14
- metrics-buffer-max-ms = 100
15
- batch-num-messages = 10000
16
-
30
+ metrics-flush-freq = 50ms
31
+ metrics-max-messages = 5000
32
+ schemas-file = /etc/metrictank/storage-schemas.conf
17
33
# enable optimized MetricPoint payload
18
34
v2 = true
19
35
# encode org-id in messages
@@ -23,25 +39,18 @@ v2-stale-thresh = 6h
23
39
# check interval for expiring keys
24
40
v2-prune-interval = 1h
25
41
26
- graphite-url = http://metrictank:8080
27
- metrictank-url = http://metrictank:6060
42
+ # logging
43
+ log-level = 2
44
+
45
+ # usage tracking
46
+ tsdb-stats-enabled = false
47
+ tsdb-stats-addr = localhost:2004
28
48
49
+ # stats and tracing
29
50
stats-enabled = true
30
51
stats-prefix = tsdb-gw.stats.default.$hostname
31
52
stats-addr = metrictank:2003
32
53
stats-interval = 1
33
54
stats-buffer-size = 20000
34
-
35
- tsdb-stats-enabled = false
36
- tsdb-stats-addr = localhost:2004
37
-
38
- carbon-auth-plugin = file
39
- carbon-enabled = false
40
- carbon-addr = 0.0.0.0:2003
41
- schemas-file = /etc/metrictank/storage-schemas.conf
42
- carbon-flush-interval = 1s
43
- carbon-concurrency = 1
44
- carbon-buffer-size = 100000
45
- carbon-non-blocking-buffer = false
46
-
47
- auth-file-path = /etc/gw/auth.ini
55
+ tracing-enabled = false
56
+ tracing-addr = localhost:6831
0 commit comments