Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit 0c44c62

Browse files
committed
update to new tsdbgw that uses sarama again
1 parent 8ea4223 commit 0c44c62

File tree

2 files changed

+35
-26
lines changed

2 files changed

+35
-26
lines changed

docker/docker-dev-custom-cfg-kafka/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ services:
137137

138138
tsdb-gw:
139139
hostname: tsdb-gw
140-
image: raintank/tsdb-gw:0.8.0-111-g5fa198b
140+
image: raintank/tsdb-gw:0.8.0-151-g3884aaa
141141
ports:
142142
- "9000:80"
143143
volumes:
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,35 @@
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
36
admin-key = not_very_secret_key
7+
8+
# api
9+
addr = :80
410
api-auth-plugin = file
11+
ssl = false
12+
cert-file =
13+
key-file =
514

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
723

24+
# kafka publisher
25+
kafka-tcp-addr = kafka:9092
826
metrics-topic = mdm
9-
metrics-kafka-comp = none
27+
metrics-kafka-comp = snappy
1028
metrics-publish = true
1129
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
1733
# enable optimized MetricPoint payload
1834
v2 = true
1935
# encode org-id in messages
@@ -23,25 +39,18 @@ v2-stale-thresh = 6h
2339
# check interval for expiring keys
2440
v2-prune-interval = 1h
2541

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
2848

49+
# stats and tracing
2950
stats-enabled = true
3051
stats-prefix = tsdb-gw.stats.default.$hostname
3152
stats-addr = metrictank:2003
3253
stats-interval = 1
3354
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

Comments
 (0)