Figured it out. Instance name has a “:” in it. We’ll have to replace that with a legal character before submitting the datapoints to kairosdb. Probably a “-” or “_” will work well. If you guys would like to implement that … it would be great. If I have a chance I’ll read through the code and submit a patch.
POST /api/v1/datapoints HTTP/1.1
Host: vcstats.gdl.englab.netapp.com:8080
Content-Length: 1070
[{“name”:”virtualDisk.numberReadAveraged.average”,”datapoints”:[[1425757000000,0],[1425757020000,0],[1425757040000,0],[1425757060000,0],[1425757080000,0],[1425757100000,0],[1425757120000,0],[1425757140000,0],[1425757160000,0],[1425757180000,0],[1425757200000,0],[1425757220000,0],[1425757240000,0],[1425757260000,0],[1425757280000,0],[1425757300000,0],[1425757320000,0],[1425757340000,0],[1425757360000,0],[1425757380000,0],[1425757400000,0],[1425757420000,0],[1425757440000,0],[1425757460000,0],[1425757480000,0],[1425757500000,0],[1425757520000,0],[1425757540000,0],[1425757560000,0],[1425757580000,0],[1425757600000,0],[1425757620000,0],[1425757640000,0],[1425757660000,0],[1425757680000,0],[1425757700000,0],[1425757720000,0],[1425757740000,0],[1425757760000,0],[1425757780000,0],[1425757800000,0],[1425757820000,0],[1425757840000,0],[1425757860000,0],[1425757880000,0]],”tags”:{“id”:”vm-739″,”unit”:”number”,”vcenter”:”8A05D2F1-AFE6-413E-827F-CC1C72089FCF”,”interval”:”20″,”container”:”GDL-DEV01″,”name”:”nisssqa2502″,”type”:”VirtualMachine”,”instance”:”scsi0:0″}}]HTTP/1.1 400 Bad Request
Access-Control-Allow-Origin: *
Content-Type: application/json
Transfer-Encoding: chunked
Server: Jetty(8.1.16.v20140903)
95
{“errors”:[“metric[0](name=virtualDisk.numberReadAveraged.average).tag[instance].value may contain any character except colon ‘:’, and equals ‘=’.”]}
0