You can use the blacklist feature on the APM settings page to blacklist a namespace, class name or method.

This feature is useful because it helps to filter out unwanted data from captured traces, e.g. short running but frequently called helper functions which are already performant, but clog up captured trace data due to being regularly called.

Enter a namespace, class or method

There is no limit to the blacklist - you can add as many as you’d like.

View blacklist items

Adding blacklist items

Blacklist items must be added in the following format: Namespace.Class::Method. For example, given a method in your code called MyNamespace.RaygunUtilities.Foo(), the following rules will match:

  • MyNamespace.
  • MyNamespace.RaygunUtilities
  • MyNamespace.RaygunUtilities::Foo

Given the method MyNamespace.RaygunUtilities.Bar() and the rules above, only the first two rules would match.

Once you’ve added items to the blacklist, your web service app pool will need to be restarted for the changes to take effect.

note: This feature is for namespaces, classnames and methods only with no wildcard support.