Let's say a method sensor is defined at the package level with the <all methods> option. At some point it's become obvious that several methods that belong to the package pollute purepaths (the number of captured method invocations within the PurePath exceeds the limit). Is there a way to exclude those methods from being captured? I've tried to add another sensor pack with these methods in exclude/inactive state, but it doesn't seem to be working.
First, if you want to exclude a method, you need the method sensor to be "active". It's a little bit counter-intuitive, but what you saying is that the exclusion is active (or not).
Second, if you want to exclude something in another sensor pack, you need to set the exclusion to "globally exclude". Setting "exclude" just exclude the specific method from the sensor pack it's in.
Alternatively I believe you are able to define rules for methods within the same sensor pack so that these methods are excluded. You would just need to make sure that the exclude rule is placed above the include rule for <all methods>. This would ensure that the exclude rule is processed first.