cleanup metric_notify