Urine tests can be used to detect and monitor glucose levels and ketone levels in people with diabetes. Diabetes is a metabolic disease that’s characterized by high blood sugar levels.