metrics.local becomes metrics.pipeline