[bdg-utils-6] Migrates metrics code from ADAM

This PR closes #6 by migrating the metrics/instrumentation code from ADAM. Currently, this PR depends on #7.