Documentation
¶
Overview ¶
Package obs centralizes process observability bootstrap: structured logs, redaction, and the global OpenTelemetry tracer provider.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Service string
Version string
OtelExporter string
OtelEndpoint string
LogWriter io.Writer
}
Config carries the process-level observability knobs resolved by the binary edge. LogWriter is injectable so tests can assert the JSON log shape.
type ShutdownFunc ¶
ShutdownFunc adapts Init's shutdown function to agent.TracerProvider for older callsites that still hold the narrow provider interface.
Click to show internal directories.
Click to hide internal directories.