﻿# Separate blackbox exporter reachability from target probing

In multi-target probing, scrape health describes collection from the exporter; target outcome needs its probe result, module and exporter vantage.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/guide-dc-blackbox-exporter-target-boundary/
Language: en

An external inference endpoint fails a blackbox probe while Prometheus reports the scrape as up. These observations can both be correct. In the multi-target exporter pattern, Prometheus collects a probe result from an exporter, and that exporter contacts the selected target. Keep the two network boundaries and their identities separate.

## Trace the target parameter

The documented pattern transfers the discovered target address into the exporter's target parameter. A relabeling step can also retain that target as the visible instance label. Inspect the effective mapping rather than assuming the scrape address is the endpoint being tested. A labeling error can place a legitimate probe result under the wrong inference endpoint name.

## Identify the actual scrape destination

The scrape address is rewritten to the blackbox exporter. Successful scraping therefore establishes collection from that exporter for this request. It does not independently establish success at the remote target. Conversely, a failed scrape can prevent collection of a target outcome entirely. Keep that missing observation distinct from a collected result explicitly reporting probe failure.

## Read the module contract

A probe module defines the protocol and its success criteria. HTTP options, address-family selection and fallback can change what path is exercised. Preserve the module name and applicable configuration with the result. Two observers using the same URL but different modules or network namespaces are not necessarily performing equivalent tests of the serving path.

## Keep vantage as evidence

The outgoing connection originates from the exporter environment. Its DNS view, route and network access can differ from the Prometheus process and from an external user. An internal success alongside an external failure narrows the investigated boundary only if the relevant tests and acquisition times are comparable. It does not automatically assign the fault to the model server or prove that all public users fail.

## Interpret the paired metrics

Read scrape health alongside the collected probe outcome and diagnostic fields. A healthy exporter with a failed probe is a useful result rather than a contradiction. Explain which target, module and vantage produced it, and retain absent results separately. This guide reviews configuration and recorded observations without launching probes; a protocol-level probe also remains distinct from a bounded generation that validates application completion.

## Primary references

[Prometheus Multi-Target Exporter Pattern](https://prometheus.io/docs/guides/multi-target-exporter/).

[Blackbox Exporter Probe Configuration](https://github.com/prometheus/blackbox_exporter/blob/master/CONFIGURATION.md).

[Prometheus Scrape and Alert Relabeling Configuration](https://prometheus.io/docs/prometheus/latest/configuration/configuration/).

Related reading: [A token-budgeted synthetic probe for an inference endpoint](/journal/provider-bounded-synthetic-probe-contract/); [Prometheus relabel_configs vs metric_relabel_configs: where to filter data](/journal/prometheus-target-vs-metric-relabeling/).
