Implement Plugin Metrics and improve Vault debugging

Implement Plugin Metrics and improve Vault debugging messages.