Measuring the right data, and context, to ditch costly unplanned maintenance