Introduce exometer metrics into 2.0

This PR is an adaptation of PR #415 ("use exometer metrics"), but relative to 2.0 instead of the 'develop' branch.