Add documentation for metric.

Docker-DCO-1.1-Signed-off-by: Jialin Tian <himurakenshin54@gmail.com> (github: kenshin54)