generic metric command