我使用以下curl命令将指标推送到opentsdb
curl -X POST --data-binary gzip.json --header "Content-Type: application/json" --header "Content-Encoding: gzip" http://mycloud:xxxx/api/put?details和得到
curl: (52) Empty reply from server但是,opentsdb已经启动并运行,我也可以使用/api/query/进行查询。你能指出我错在哪部分吗?
发布于 2016-05-09 10:22:36
curl调用似乎没问题,只有一件事--对数据使用@,即@gzip.json。
你的电话是:
curl -X POST --data-binary "@gzip.json" --header "Content-Type: application/json" --header "Content-Encoding: gzip" http://mycloud:xxxx/api/put?details来源:压缩请求部分
https://stackoverflow.com/questions/36864624
复制相似问题