def METHOD_NAME() -> MetricsBackend:
    from sentry.utils.imports import import_string
    cls: Type[MetricsBackend] = import_string(settings.SENTRY_METRICS_BACKEND)
    return MiddlewareWrapper(cls(**settings.SENTRY_METRICS_OPTIONS))