counter fields are supported to a degree: when they are casted to their corresponding numerical data type, ie counter_long::long should be ok, but sort counter_long should.
Now, sort counter_long seems to work. We have a test for this but it's a false positive in 40_tsdb.yml:
from test | KEEP k8s.pod.network.tx | sort @k8s.pod.network.tx | limit 1 - this one has a typo and the error we throw is that we cannot find @k8s.pod.network.tx field, whereas we should have created an error saying the counter_long field is unsupported.
Description
counter
fields are supported to a degree: when they are casted to their corresponding numerical data type, iecounter_long::long
should be ok, butsort counter_long
should.Now,
sort counter_long
seems to work. We have a test for this but it's a false positive in 40_tsdb.yml:from test | KEEP k8s.pod.network.tx | sort @k8s.pod.network.tx | limit 1
- this one has a typo and the error we throw is that we cannot find@k8s.pod.network.tx
field, whereas we should have created an error saying thecounter_long
field is unsupported.