Implemented transaction sampling for non-exceptions.