write different metric separately