Fix upstream metrics.