There’s a special layer that your missing. It would be more like this:
{
“timestamp” : 1465577611580
“metrics” : [
{
“name” : “my_int”,
“value” : 456,
“datatype” : 3,
“properties” : {"keys" : ["documentation"], "values": [{"type":12, "string_value":"my documentation"}]},
}
]
}
Within the properties there is an array named keys which is all the property names, then a second array named values which contains a bunch mini-metric-like things with a type and value for each. It’s a lot of overhead if you’re only doing one property, but it’s designed to support large sets of properties. 