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}.

Was it helpful?

Solution 2

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.

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
scroll top