Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporters ¶
Exporters bundles observability primitives (logger + metrics) for dependency injection. The logger is Go's stdlib *slog.Logger — integrators provide their own slog.Handler.
func NewExporters ¶
NewExporters creates an Exporters bundle. Pass a configured *slog.Logger (with whatever slog.Handler you need) and a Metrics implementation. Neither may be nil; use slog.New(slog.DiscardHandler) and metrics.NewNoopMetrics() if logging or metrics are unwanted.
Click to show internal directories.
Click to hide internal directories.