pipeline metrics

fixes #326
using https://github.com/uwsampa/grappa/pull/184