def job_name_suffix(job_name, labels, rel_id):
    """Construct consumer set job name.

    Args:
        job_name: Provider generated job name string.
        labels: dictionary of juju static job labels
        rel_id: id of relation for this job.

    Returns:
        string name of job as set by consumer (if any)
    """
    name_prefix = "juju_{}_{}_{}_prometheus_{}_scrape_".format(
        labels["juju_model"],
        labels["juju_model_uuid"][:7],
        labels["juju_application"],
        rel_id,
    )
    return job_name[len(name_prefix) :]