doc support for metrics