VL
Size: a a a
VL
M
gostatsd —> carbon-c-relay —> carbon-clickhouse —> clickhouse
grafana —> carbonapi —> graphite-clickhouse —> clickhouse
VS
gostatsd —> carbon-c-relay —> carbon-clickhouse —> clickhouse
grafana —> carbonapi —> graphite-clickhouse —> clickhouse
M
[common]
metric-prefix = "carbon.agents.{host}"
metric-endpoint = "local"
max-cpu = 1
metric-interval = "1m0s"
[data]
path = "/var/lib/carbon-clickhouse/data"
compression-level = 0
chunk-interval = "1s"
chunk-auto-interval = ""
compression = "none"
[upload]
[upload.graphite]
type = "points"
table = "graphite.graphite"
date = ""
zero-timestamp = false
threads = 1
url = "http://localhost:8123/"
timeout = "1m0s"
[upload.graphite_index]
type = "index"
table = "graphite.graphite_index"
threads = 1
url = "http://localhost:8123/"
timeout = "1m0s"
cache-ttl = "12h0m0s"
[udp]
listen = ":2203"
enabled = true
log-incomplete = false
drop-future = "0s"
drop-past = "0s"
[tcp]
listen = ":2203"
enabled = true
drop-future = "0s"
drop-past = "0s"
read-timeout = "2m0s"
[pickle]
listen = ":2204"
enabled = true
drop-future = "0s"
drop-past = "0s"
[grpc]
listen = ":2005"
enabled = false
drop-future = "0s"
drop-past = "0s"
[prometheus]
listen = ":2006"
enabled = false
drop-future = "0s"
drop-past = "0s"
[telegraf_http_json]
listen = ":2007"
enabled = false
drop-future = "0s"
drop-past = "0s"
[pprof]
listen = "localhost:7007"
enabled = false
[[logging]]
logger = ""
file = "/var/log/carbon-clickhouse/carbon-clickhouse.log"
level = "info"
encoding = "mixed"
encoding-time = "iso8601"
encoding-duration = "seconds"
[convert_to_tagged]
enabled = false
separator = ""
VS
[common]
metric-prefix = "carbon.agents.{host}"
metric-endpoint = "local"
max-cpu = 1
metric-interval = "1m0s"
[data]
path = "/var/lib/carbon-clickhouse/data"
compression-level = 0
chunk-interval = "1s"
chunk-auto-interval = ""
compression = "none"
[upload]
[upload.graphite]
type = "points"
table = "graphite.graphite"
date = ""
zero-timestamp = false
threads = 1
url = "http://localhost:8123/"
timeout = "1m0s"
[upload.graphite_index]
type = "index"
table = "graphite.graphite_index"
threads = 1
url = "http://localhost:8123/"
timeout = "1m0s"
cache-ttl = "12h0m0s"
[udp]
listen = ":2203"
enabled = true
log-incomplete = false
drop-future = "0s"
drop-past = "0s"
[tcp]
listen = ":2203"
enabled = true
drop-future = "0s"
drop-past = "0s"
read-timeout = "2m0s"
[pickle]
listen = ":2204"
enabled = true
drop-future = "0s"
drop-past = "0s"
[grpc]
listen = ":2005"
enabled = false
drop-future = "0s"
drop-past = "0s"
[prometheus]
listen = ":2006"
enabled = false
drop-future = "0s"
drop-past = "0s"
[telegraf_http_json]
listen = ":2007"
enabled = false
drop-future = "0s"
drop-past = "0s"
[pprof]
listen = "localhost:7007"
enabled = false
[[logging]]
logger = ""
file = "/var/log/carbon-clickhouse/carbon-clickhouse.log"
level = "info"
encoding = "mixed"
encoding-time = "iso8601"
encoding-duration = "seconds"
[convert_to_tagged]
enabled = false
separator = ""
M
[2020-04-22T14:42:10.865-0400] INFO [upload] handle success {"name": "graphite", "filename": "/var/lib/carbon-clickhouse/data/graphite/default.1587580929722275093", "time": 0.002000543}
[2020-04-22T14:42:10.865-0400] INFO [upload] handle success {"name": "graphite_index", "filename": "/var/lib/carbon-clickhouse/data/graphite_index/default.1587580929722275093", "time": 0.00111562}
VS
M
echo "test2:100|c" | nc -u -q0 127.0.0.1 8125
echo "test4.count 200 `date +%s`" | nc -u -q0 127.0.0.1 2003
НА
gostatsd —> carbon-c-relay —> carbon-clickhouse —> clickhouse
grafana —> carbonapi —> graphite-clickhouse —> clickhouse
НА
M
НА
НА
НА
AS
I
AS
AS