Same here , I would say it's incontinence.
When you're dealing with UTI , cushings disease , addison etc... dogs pee more but can hold it , well , a bit anyway. They will never pee in their sleep. When they do , it's incontinence.
If they can't treat it with meds , you could use diapers.