add events for metrics and wire up the dropped frames metric