# `Macaw.Host.Health.Plug`
[🔗](https://github.com/dcoai/macaw_host/blob/v0.1.4/lib/macaw/host/health/plug.ex#L2)

Serves an app's health report as JSON: `200` when healthy, `503` when not.

    get "/healthz", Macaw.Host.Health.Plug, report: {MyApp.Health, :report, []}

or as a plug in an endpoint, answering only its `:path` (default
`/healthz`) and passing every other request on.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
