def METHOD_NAME(dummy_exporter):
    @log_exceptions_and_usage(event="test-event")
    def entrypoint():
        provider()
    @log_exceptions_and_usage(provider="provider-one")
    def provider():
        raise ValueError(1)
    with pytest.raises(ValueError):
        entrypoint()
    assert dummy_exporter
    assert {
        "event": "test-event",
        "provider": "provider-one",
        "exception": repr(ValueError(1)),
        "entrypoint": "test_usage.test_exception_recording.<locals>.entrypoint",
    }.items() <= dummy_exporter[0].items()