def METHOD_NAME(dummy_exporter):
    @log_exceptions_and_usage()
    def entrypoint():
        expensive_fn()
    @log_exceptions_and_usage(sampler=RatioSampler(ratio=0.1))
    def expensive_fn():
        pass
    for _ in range(100):
        entrypoint()
    assert len(dummy_exporter) == 10