Hello,
While checking tcollector, I found that, if there are more data points like 160, the TSDB is not accepting: it is throwing HTTP response code 400. Then I found the issue-->
https://github.com/OpenTSDB/opentsdb/issues/324.
I did
tsd.http.request.enable_chunked == true and increased
tsd.http.request.max_chunk_siz to 14000, after that I was able to send 70 data points but not more that that. Why tcollector is trying to send more data points at time? if this is the issue why would they implemented like this? or am I missing anything? or should break down the json dictionary into multiple?
Data points example[
{
"timestamp":1488964600,
"metric":"net.sockstat.num_sockets",
"value":102.0,
"tags":{
"host":"ultron",
"type":"tcp"
}
},
{
"timestamp":1488964600,
"metric":"net.sockstat.num_timewait",
"value":17.0,
"tags":{
"host":"ultron"
}
},
{
"timestamp":1488964600,
"metric":"net.sockstat.sockets_inuse",
"value":79.0,
"tags":{
"host":"ultron",
"type":"tcp"
}
}
]
Thanks,
Veerendra