Diagnosing Problems in Production