added metrics plugin