def METHOD_NAME(sender, instance, **kwargs):
    """
    Fires when an object is deleted.
    """
    # Ignore object without the right method
    if not hasattr(instance, "to_objectchange"):
        return
    # Get the current request, or bail if not set
    request = current_request.get()
    if request is None:
        return
    # Record an object change
    change = instance.to_objectchange(ObjectChangeAction.DELETE)
    change.user = request.user
    change.request_id = request.id
    change.save()
    # Enqueue webhooks
    queue = webhooks_queue.get()
    enqueue_object(queue, instance, request.user, request.id, ObjectChangeAction.DELETE)
    webhooks_queue.set(queue)
    # Increment metric counters
    model_deletes.labels(instance._meta.model_name).inc()