How the events behind every metric get named, logged and validated — from a Segment engineering workshop.