Gerrit id-7270 Enhancing NBI to define APIs for metric collection