add metric dataset support