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 8.4.2.36762. Kindly help me in this regard

HI,

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

Thanks,
Anudit