def METHOD_NAME(redis_server, settings):
    buffer = get_buffer(KEY)
    assert isinstance(buffer, RedisBuffer)
    assert buffer.max_size == settings.OBSERVABILITY_BUFFER_SIZE_LIMIT
    assert buffer.batch_size == settings.OBSERVABILITY_BUFFER_BATCH_SIZE