add metrics example