I'm a new user of sonar. Now I need to customize metrics, but I didn't find the related documentation. If I have to coding a plugin? I do the same with http://docs.sonarqube.org/display/SONAR/Getting+Started, but I failed. There is no difference at the localhost:9000/profiles.
For proper integration into the Sonar build you need to write plugin:
If you just want to add some additional adhoc metrics to your dashboard, an option is to use manual measures:
There's a REST API available to creating and posting manual metric values: