Error using opentsdb listener
Created by: mqsquidy
We currently are evaluating timeseries solutions and have looked at opentsdb. I noticed that dalmatinerdb offers a translation layer in ddb_proxy. I followed the instructions for single node setup but when I attempt to send opentsdb structured messages to ddb_proxy the telnet connection is terminated and I receive these errors in the crash log:
2016-10-10 12:49:56 =ERROR REPORT==== Error in process <0.307.0> on node 'ddb_proxy@127.0.0.1' with exit value: {undef,[{dp_index,add,[<<"OpenTSDB">>,<<4,116,101,115,116,6,109,101,116,114,105,99,14,104,11 1,115,116,61,108,111,99,97,108,104,111,115,116>>,#{key => [<<"test">>,<<"metric">>,<<"host=l ocalhost">>],metric => [<<"test">>,<<"metric">>],tags => [{<<>>,<<"host">>,<<"localhost">>}] ,time => 1476103793,value => 100}],[]},{dp_line_proto,decode_metric,2,[{file,"/dataloop/ddb_ proxy/_build/deb/lib/ddb_proxy/src/dp_line_proto.erl"},{line,29}]},{lists,foldl,3,[{file,"li sts.erl"},{line,1262}]},{dp_line_proto,fold_lines,3,[{file,"/dataloop/ddb_proxy/_build/deb/l ib/ddb_proxy/src/dp_line_proto.erl"},{line,9}]},{dp_tcp_listener,loop,4,[{file,"/dataloop/dd b_proxy/_build/deb/lib/ddb_proxy/src/dp_tcp_listener.erl"},{line,22}]}]} 2016-10-10 12:49:56 =ERROR REPORT==== Ranch listener dp_otsdb_OpenTSDB_4242_tcp had connection process started with dp_tcp_listene r:start_link/4 at <0.307.0> exit with reason: {undef,[{dp_index,add,[<<"OpenTSDB">>,<<4,116, 101,115,116,6,109,101,116,114,105,99,14,104,111,115,116,61,108,111,99,97,108,104,111,115,116
,#{key => [<<"test">>,<<"metric">>,<<"host=localhost">>],metric => [<<"test">>,<<"metric"> ],tags => [{<<>>,<<"host">>,<<"localhost">>}],time => 1476103793,value => 100}],[]},{dp_lin e_proto,decode_metric,2,[{file,"/dataloop/ddb_proxy/_build/deb/lib/ddb_proxy/src/dp_line_pro to.erl"},{line,29}]},{lists,foldl,3,[{file,"lists.erl"},{line,1262}]},{dp_line_proto,fold_li nes,3,[{file,"/dataloop/ddb_proxy/_build/deb/lib/ddb_proxy/src/dp_line_proto.erl"},{line,9}] },{dp_tcp_listener,loop,4,[{file,"/dataloop/ddb_proxy/_build/deb/lib/ddb_proxy/src/dp_tcp_li stener.erl"},{line,22}]}]}
Any help would be greatly appreciated.