group environment collection by metric
add logging of the throwable so any oddities can be tracked