Change registerGauge() to register() for PluginMetricManager plus
javadoc update.