Unable to Load a Metric in Custom Plugin

Hi All,

I am trying to create a custom plugin for Sonarqube. I have implemented the metric and added the new measure in the sensor context. But i am unable to figure out how to register this metric for my plugin. The sonar version i am working on is Kindly help me in this regard


Can someone please help in this as i am totally stuck?