Documentation
¶
Overview ¶
Package observability adapts application-owned HTTP handlers into Kernel actions for standard health and metrics endpoints.
The adapters only bind routes; they do not wrap or alter handler responses.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthActions ¶
HealthActions returns the standard liveness and readiness actions. The supplied handlers remain responsible for response status, headers, and body. Liveness is exposed at GET /healthz; readiness is exposed at GET /readyz and the backwards-compatible GET /health alias.
func MetricsAction ¶
MetricsAction returns a system action that serves the supplied handler at one GET endpoint. The handler is mounted directly so Prometheus content negotiation and exposition output are preserved.
Types ¶
This section is empty.