use pattern match on metrics with instance again