在通过postman post格式插入数据到 OpenTSDB中
http://OpenTSDB的ip:4242/api/put
格式 json,请求参数
{
"metric": "sys.cpu.nice",
"timestamp": 1346846400,
"value": 18,
"tags": {
"host": "web01",
"dc": "lga"
}
}
返回结果
{
"success": 0,
"failed": 1,
"errors": [
{
"datapoint": {
"metric": "sys.cpu.nice",
"timestamp": 1346846400,
"value": "18",
"tags": {
"host": "web01",