Malachi.Dashboard (malachi v0.8.13)

View Source

The built-in HTTP dashboard: a GenServer that listens on a port and serves the operational UI and metrics endpoints over plain HTTP.

It accepts connections on its listen socket and handles each request in a spawned process, wrapping the routed handlers with authentication (Malachi.Auth), per-IP rate limiting (Malachi.RateLimiter), security headers (Malachi.Dashboard.SecurityHeaders), and audit logging (Malachi.AuditLog).

Summary

Functions

Returns a specification to start this module under a supervisor.

Starts the dashboard HTTP server listening on port (registered under the module name).

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(port)

Starts the dashboard HTTP server listening on port (registered under the module name).