The [blackbox target documentation](#adding-a-blackbox-target) uses a technique called
"relabeling" to have the blackbox exporter actually provide useful
labels. This is done with the [`relabel_configs`](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_configs) configuration,
which changes labels before the scrape is performed, so that the
blackbox exporter is scraped instead of the configured target, and
that the configured target is passed to the exporter.
There are other uses for this. In the `bacula` job, for example, we
relabel the `alias` label so that it points at the host being backed
up instead of the host where backups are stored:
```yaml
-job_name:'bacula'
metric_relabel_configs:
# the alias label is what's displayed in IRC summary lines. we want to
# know which backup jobs failed alerts, not which backup host contains the
# failed jobs.
-source_labels:
-'alias'
target_label:'backup_host'
-source_labels:
-'bacula_job'
target_label:'alias'
```
The above takes the `alias` label (e.g. `bungei.torproject.org`) and
copies it to a new label, `backup_host`. It then takes the
`bacula_job` label and uses *that* as an `alias` label. This has the