correct typedef for multi metric handler