Added metrics

This add son custom metrics to the plugin.
Also rename some parameters in config and deletes unused