Hi,
For a certain metric, its datapoints may or may not carry a particular tag. See the example below, for a given timestamp, 3 datapoints have the tag 'port' and 1 doesn't. (Semantically the one without the tag 'port' is a total value and should be the sum of all that with the tag 'port', but not all ports report the value to opentsdb.)
lb.incoming.bytes 1488350698 1000 id=12345 port=80 host=a01-r06-i178-27
lb.incoming.bytes 1488350698 1500 id=12345 port=8000 host=a01-r06-i178-27
lb.incoming.bytes 1488350698 1664 id=12345 port=8080 host=a01-r06-i178-27
lb.incoming.bytes 1488350698 8192 id=12345 host=a01-r06-i178-27
When I query, how can I get only the datapoints without the tag 'port'? Obviously, if I do 'sum lb.incoming.bytes id=12345', opentsdb will sum all datapoints with or without the tag 'port'. How can I exclude the one with the tag?
Thanks.