Add tracing code conditionally
Conditionally use & configure tracing