Added support for plugin metrics