Add metric firing and logging sender (for use in tests).