scope
scope copied to clipboard
Support inverted/negated search/filtering of nodes more easily
You can make this happen w/ some regex voodoo:
Filter out all nodes that start w/ “prom” or a number, e.g. “2 containers” as we multiline match: label: ^(?!(prom)|[\d]).+
But a !
at the start would make this much nicer: !prom
This might be made simpler if we excluded labelminor:
from label:
, we could have:
label: ^(?!prom)
and pop in some more examples in the help section.
related: https://github.com/weaveworks/scope/issues/3358
This is very very hard to use. Pasting a query shown here works, but trying to change that and see if I could filter out 'The Internet' results in ‘There was a problem rendering this page’ error once in a while, as type incomplete queries...
This is very very hard to use. Pasting a query shown here works, but trying to change that and see if I could filter out 'The Internet' results in ‘There was a problem rendering this page’ error once in a while, as type incomplete queries...
This problem has been fixed on the master
branch, probably in #3337. The change has reached Weave Cloud dev, but not prod yet as the moment of speaking.