add ringing-metric function