This is relevant to Opentsdb 2.3.1 writing to Google Cloud BigTable (the Opentsdb config can be found here).
I'm writing to OpenTSDB time series like this (via the HTTP API -- api/put
) like so:
{
"metric": "w.builder.9",
"timestamp": 1535504606,
"value": 1,
"tags": {
"tid": "1",
"wid": "21",
"vid": "17"
}
}
where wid
and vid
are just integers (surrounded by quotes).
Now when I run a simple query with no aggregation, i.e.
{
"start": "1h-ago",
"queries": [
{
"metric": "w.builder.9",
"aggregator": "none"
}
]
}
QUERY RESPONSE
[
{
"metric": "w.builder.9",
"tags": {
"wid": "node",
"tid": "1",
"vid": "node"
},
"aggregateTags": [],
"dps": {
"1535503901": 1,
"1535503951": 1,
"1535504407": 1,
"1535504576": 1
}
},
{
"metric": "w.builder.9",
"tags": {
"wid": "node",
"tid": "1",
"vid": "node"
},
"aggregateTags": [],
"dps": {
"1535503881": 1,
"1535503960": 1,
"1535503982": 1,
"1535504389": 1,
"1535504402": 1
}
}
]
Why are tag values for wid
and vid
= "node"
?