Could be VD! Has the dog in question been to any Asian countries lately?

Or kidney infection, trauma of an organ, bladder or kiddney disease. If its a gyp make sure its not cycle problems being confused with urine passing over and appearing mixed.
More serious possibilities
Rocky Mountain tick fever, prostate gland issues or a laundry list of other possibilities including various types of cancer.
Need lil more info to narrow it down. Or just got to vet and have it checked out.