Diagnosis of ketoacidosis involves measuring blood ketone levels, blood sugar levels, and blood pH. Elevated ketones and blood glucose, along with a low blood pH, confirm the presence of ketoacidosis. Healthcare professionals may also analyze electrolytes and anion gap to assess the severity of the condition.