Although obstructive sleep apnea ( OSA ) is associated with impaired glucose tolerance and diabetes , it remains unclear whether OSA treatment with continuous positive airway pressure ( CPAP ) has metabolic benefits .