Detecting spark plug