def METHOD_NAME(cls, metric_name):
    def wrapper(patcher):
        patcher = contextmanager(patcher)
        cls.INTENSIVE_CALLS_PATCHER[metric_name] = patcher
        return patcher
    return wrapper