# NOTE: --config.file makes this file REPLACE the image's built-in module set,
# so every module a probe can select must be defined here (a probe naming a
# module that isn't in this file fails the scrape). Add new modules below.
#
# Local blackbox-exporter modules — same names the scrape config uses, with
# IPv4 pinned: probe targets are host.docker.internal (mesh dev services /
# mocks on the host), whose Docker-provided IPv6 ULA is unreachable from the
# container network, so the default ip6-preferred resolution dials a dead
# address and every probe reads down.
modules:
  http_2xx:
    prober: http
    http:
      preferred_ip_protocol: ip4
      ip_protocol_fallback: true
  tcp_connect:
    prober: tcp
    tcp:
      preferred_ip_protocol: ip4
      ip_protocol_fallback: true
