Stability of amplification in detectors with integrated electronics