Skip to content

Commit 041e258

Browse files
committed
Update docs and Makefile
1 parent ac8b27a commit 041e258

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

carbon-clickhouse.conf

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metric-endpoint = "local"
66
# Interval of storing internal metrics. Like CARBON_METRIC_INTERVAL
77
metric-interval = "1m0s"
88
# GOMAXPROCS
9-
max-cpu = 1
9+
max-cpu = 10
1010

1111
[logging]
1212
# "stderr", "stdout" can be used as file name
@@ -30,30 +30,30 @@ chunk-auto-interval = "5:5s,10:60s"
3030
type = "points"
3131
table = "graphite_data"
3232
threads = 1
33-
url = "http://clickhouse:8123/"
34-
timeout = "2m0s"
33+
url = "http://clickhouse:8123/?http_receive_timeout=3600&receive_timeout=3600&http_send_timeout=3600&send_timeout=3600"
34+
timeout = "4m0s"
3535

3636
[upload.graphite_reverse]
3737
type = "points-reverse"
3838
table = "graphite_reverse"
3939
threads = 1
40-
url = "http://clickhouse:8123/"
41-
timeout = "2m0s"
40+
url = "http://clickhouse:8123/?http_receive_timeout=3600&receive_timeout=3600&http_send_timeout=3600&send_timeout=3600"
41+
timeout = "4m0s"
4242

4343
[upload.graphite_index]
4444
type = "index"
4545
table = "graphite_index"
4646
threads = 1
47-
url = "http://clickhouse:8123/"
48-
timeout = "2m0s"
47+
url = "http://clickhouse:8123/?http_receive_timeout=3600&receive_timeout=3600&http_send_timeout=3600&send_timeout=3600"
48+
timeout = "4m0s"
4949
cache-ttl = "12h0m0s"
5050

5151
[upload.graphite_tagged]
5252
type = "tagged"
5353
table = "graphite_tagged"
5454
threads = 1
55-
url = "http://clickhouse:8123/"
56-
timeout = "2m0s"
55+
url = "http://clickhouse:8123/?http_receive_timeout=3600&receive_timeout=3600&http_send_timeout=3600&send_timeout=3600"
56+
timeout = "4m0s"
5757
cache-ttl = "12h0m0s"
5858

5959
[udp]

0 commit comments

Comments
 (0)