Closed
Description
Hi. I'm not able to feed any data into CH because it keeps throwing errors like this when carbon-clickhouse inserts data:
DB::Exception: Attempt to read after eof (version 21.8.4.51 (official build)) (from [::ffff:ip]:47634) (in query: INSERT INTO graphite.graphite_data (Path, Value, Time, Date, Timestamp) FORMAT RowBinary )
What am I doing wrong? There's nothing in the logs, I can't even see what data is actually being fed into CH. I tried capturing requests to CH, and looks like there's even no data being sent:
POST /?query=INSERT+INTO+graphite.graphite_data+%28Path%2C+Value%2C+Time%2C+Date%2C+Timestamp%29+FORMAT+RowBinary HTTP/1.1.
Host: my-storage:8123.
User-Agent: Go-http-client/1.1.
Transfer-Encoding: chunked.
Content-Encoding: gzip.
Accept-Encoding: gzip.
Connection: close.
.
Here's my config (by the way, it would be great to actualize all the config params, table SQL queries and provide a more user-friendly description for each param for both carbon-clickhouse and graphite-clickhouse because they are really hard to configure optimally as of now, you have to understand the internals very well):
[common]
metric-prefix = "carbon.agents.{host}"
metric-endpoint = "local"
max-cpu = 1
metric-interval = "1m0s"
[data]
path = "/opt/carbon-clickhouse/"
compression-level = 0
chunk-interval = "30s"
chunk-auto-interval = ""
compression = "none"
[upload.graphite]
type = "points"
table = "graphite.graphite_data"
#date = ""
zero-timestamp = false
threads = 1
url = "http://my-storage:8123/"
compress-data = true
timeout = "1m0s"
[upload.graphite_index]
type = "index"
table = "graphite.graphite_index"
threads = 1
url = "http://my-storage:8123/"
timeout = "1m0s"
cache-ttl = "12h0m0s"
hash = ""
[upload.graphite_tagged]
type = "tagged"
table = "graphite.graphite_tagged"
threads = 1
url = "http://my-storage:8123/"
timeout = "1m0s"
cache-ttl = "12h0m0s"
[udp]
listen = ":2004"
enabled = true
log-incomplete = false
drop-future = 0
drop-past = 0
drop-longer-than = 0
[tcp]
listen = ":2004"
enabled = true
drop-future = 0
drop-past = 0
drop-longer-than = 0
read-timeout = "2m0s"
[pickle]
listen = ":2005"
enabled = true
drop-future = 0
drop-past = 0
drop-longer-than = 0
[grpc]
listen = ":2006"
enabled = false
drop-future = 0
drop-past = 0
drop-longer-than = 0
[prometheus]
listen = ":2007"
enabled = false
drop-future = 0
drop-past = 0
drop-longer-than = 0
[telegraf_http_json]
listen = ":2008"
enabled = false
drop-future = 0
drop-past = 0
drop-longer-than = 0
[pprof]
listen = "localhost:7007"
enabled = false
[[logging]]
logger = ""
file = "/var/log/carbon-clickhouse/carbon-clickhouse.log"
level = "warn"
encoding = "mixed"
encoding-time = "iso8601"
encoding-duration = "seconds"
#[convert_to_tagged]
#enabled = false
#separator = ""
Thanks.
Metadata
Metadata
Assignees
Labels
No labels