turn logs into metrics like a boss