Skip to content

Management Server

pkg/http/management serves operational endpoints on their own port (default 8081), apart from the API server:

Path Purpose
/health Liveness: 200 while the process serves. Never checks dependencies, so a downstream outage does not restart pods.
/ready Readiness: runs every check registered on *health.Health (from pkg/health) at request time; 503 when a required check fails. Checks registered after Init (lazy clients) are included.
/metrics Prometheus exposition of the private registry the otel module provides.
lakta.NewRuntime(
config.NewModule(),
otel.NewModule(),
health.NewModule(),
management.NewModule(),
// ...
)

Config path: modules.http.management.<name>

hoststringdefault: 0.0.0.0

host specifies the address for the server to bind to

envLAKTA_MODULES__HTTP__MANAGEMENT__<NAME>__HOST
portuint16default: 8081

port represents the port number on which the server listens

envLAKTA_MODULES__HTTP__MANAGEMENT__<NAME>__PORT