Monitorex.HealthPlug
(monitorex v0.3.0)
Copy Markdown
Plug that serves a JSON health check endpoint for Monitorex.
Used by load balancers, Kubernetes liveness probes, and external monitoring systems. No authentication required.
Usage
In your router:
scope "/" do
forward "/monitorex/health", Monitorex.HealthPlug
end