add some docs for metrics handlers