fmt
print all metric emitted by metchan
remove debug
fmt
reorder for readability
improve integration test
use closure