Nope, as of OpenTSDB 1.1.0 this isn't currently supported. There is no fundamental reason why it wouldn't be supported, it's just that this isn't implemented yet.
OpenTSDB filter tags exclude specific tag
-
11-04-2022 - |
Question
Is it possible to query for all possible values but exclude a specific value from search?
For example m=sum:rate:proc.stat.cpu{host=foo,type=*?!user}
meaning all values for type
but exclude user
value. Or something like m=sum:rate:proc.stat.cpu{host=foo,type=*, type=!user}
.
Solution 2
OTHER TIPS
As an update, this is now supported in OpenTSDB versions 2.X using the not_literal_or filter.
You can do m=sum:rate:proc.stat.cpu{host=foo,type=not_literal_or(user)}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow