/healthz tells the supervisor whether the process runs, and /readyz tells the monitor whether pgw can take calls right now. Both answer over plain HTTP without an API key. Both endpoints are on the admin listener, 127.0.0.1:8080 by default.
Check pgw from its host
200.
How /readyz decides
While pgw starts or stops,/readyz answers 503 with the body not ready. Once pgw has started, each request runs the following checks in parallel.
A check that takes longer than 1 second fails with
timed out. When a check fails, /readyz answers 503 with the name and error of each failed check, one per line.
Next steps
Set up alerts
Alert before the certificate expires. The
cert check fails only afterward.Scrape the metrics
Collect the counters and gauges that show why a check fails.