Add utility class for firing metrics.
Add on_enter and on_exit functions and use these to fire first metric.