Adding metrics plugin.