The μ-RWELL is a compact spark-protected single amplification stage Micro-Pattern-Gaseous-Detector (MPGD). The detector amplification stage is realized with a polyimide structure, micro-patterned with a dense matrix of blind-holes, integrated into the readout structure. The anode is formed by a thin Diamond Like Carbon (DLC) resistive layer separated by an insulating glue layer from the readout strips. The introduction of the resistive layer strongly suppressing the transition from streamer to spark gives the possibility to achieve large gains (> 104), without significantly affecting the capability to be efficiently operated in high particle fluxes. In this work we present the results of a systematic study of the μ-RWELL performance as a function of the DLC resistivity. The tests have been performed either with collimated 5.9 keV X-rays or with pion and muon beams at the SPS Secondary Beamline H4 and H8 at CERN.