test ip for metric