Documentation
¶
Overview ¶
Package probe implements the container self-probe behind `wavefront probe --ready`. The runtime image is distroless — no shell, no wget/curl — so an exec-style container healthcheck cannot probe the ops listener from outside the binary; the binary probes itself instead, and the image's HEALTHCHECK execs it (#145).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ready ¶
Ready GETs http://<addr>/ready and returns nil only on a 200 — the ops listener's signal that a valid bundle is loaded. addr is the configured ops listen address (WAVEFRONT_METRICS_ADDR); a wildcard listen host is rewritten to loopback so the same value serves both purposes. Any other outcome — non-200, connection refused, timeout — is an error, which the command maps to a non-zero exit.
Types ¶
This section is empty.