def METHOD_NAME(ret=None):
    """
    Get the Librato options from salt.
    """
    attrs = {"email": "email", "api_token": "api_token", "api_url": "api_url"}
    _options = salt.returners.get_returner_options(
        __virtualname__, ret, attrs, __salt__=__salt__, __opts__=__opts__
    )
    _options["api_url"] = _options.get("api_url", "metrics-api.librato.com")
    log.debug("Retrieved Librato options: %s", _options)
    return _options