Stripe Interview Question

How would you design a metrics collector system?