code: def metrics(self):
          
          return dict(
              (name, getattr(Metrics, config['type']))
              for name, config in six.iteritems(self._metrics)
          )
docs: :return: Description of metrics extracted by this class