def METHOD_NAME(self, dp_id, dp_name, event_dict):
    """Notify of an event."""
    assert isinstance(event_dict, dict)
    self.event_id += 1
    event = {
        "version": 1,
        "time": time.time(),
        "dp_id": dp_id,
        "dp_name": dp_name,
        "event_id": self.event_id,
    }
    for header_key in list(event):
        assert header_key not in event_dict
    event.update(event_dict)
    self.metrics.faucet_event_id.set(event["event_id"])
    if self.event_q.full():
        self.event_q.get()
    self.event_q.put(event)