One technique that we have used quite successfully is “Instrumentation” There were couple of modules being executed in a service, few weeks back, we added instrumentation support into the service, which basically logs which modules are being called, and