refactor(metrics): document metrics pkg; unexport some things