use the TimeDataPointUtil class to merge two metric into one