Excluding trace methods

Hi, I am using trace_methods to instrument my code, I am wondering if there is a way to exclude certain classes from being instrumented via the properties file. i.e. I have the following;


This would instrument all classes and methods in the com.nat package, however if there was a single class that I wanted to exclude is this an option?

The only other way around it that I could think of was that I would need to specify every class and method that I wanted specifically, which isn't really feasible.

Any help or advice is appreciated.


Currently there is not but I agree that this would be a nice addition. The syntax could be: trace_methods=com.example.*, -com.example.foo.*.

Would you volunteer for doing the PR?

Hi Felix, thanks for your suggestion. I've opened a new issue for this on github

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.