def METHOD_NAME(ret=None):
    """
    Return a Librato connection object.
    """
    _options = _get_options(ret)
    conn = librato.connect(
        _options.get("email"),
        _options.get("api_token"),
        sanitizer=librato.sanitize_metric_name,
        hostname=_options.get("api_url"),
    )
    log.info("Connected to librato.")
    return conn