add metrics for multi process programs