How would you extract metrics from a monitoring API JSON payload and alert on thresholds for Dun & Bradstreet?