add metric command