only apply metrics-annotations to public methods

(closes #37)