Updated the example and fixed a bug with exclusion from tracing