scope icon indicating copy to clipboard operation
scope copied to clipboard

Support inverted/negated search/filtering of nodes more easily

Open foot opened this issue 6 years ago • 4 comments

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

foot avatar Jul 03 '18 16:07 foot

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.

foot avatar Jul 03 '18 16:07 foot

related: https://github.com/weaveworks/scope/issues/3358

errordeveloper avatar Sep 27 '18 08:09 errordeveloper

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

errordeveloper avatar Sep 27 '18 08:09 errordeveloper

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.

fbarl avatar Sep 27 '18 08:09 fbarl