Documentation
¶
Overview ¶
Package obs provides the platform's structured logger: a JSON slog handler to stderr with correlation-id awareness.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithCorrelation ¶
ContextWithCorrelation returns a context carrying the given correlation id.
func CorrelationFromContext ¶
CorrelationFromContext returns the correlation id stored in ctx, if any.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package metrics is the platform's Prometheus exposition package: one Registry per service process, built once in that service's main and threaded through to (a) an HTTP middleware wrapped directly around the service's own mux (b) a GET /metrics handler on the service's own listener and (c) whichever service-specific Record*/Observe* calls that service's own code needs (authz's decision path, notification's delivery worker, the gateway's module proxy).
|
Package metrics is the platform's Prometheus exposition package: one Registry per service process, built once in that service's main and threaded through to (a) an HTTP middleware wrapped directly around the service's own mux (b) a GET /metrics handler on the service's own listener and (c) whichever service-specific Record*/Observe* calls that service's own code needs (authz's decision path, notification's delivery worker, the gateway's module proxy). |
Click to show internal directories.
Click to hide internal directories.