Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Observability ¶
type Observability struct {
// contains filtered or unexported fields
}
Observability manages the lifecycle of tracing, metrics, and profiling.
func New ¶
func New(cfg *config.Config, logger *zap.Logger) *Observability
New creates an Observability manager.
func (*Observability) Init ¶
func (o *Observability) Init() error
Init initialises all configured observability components.
func (*Observability) Shutdown ¶
func (o *Observability) Shutdown(ctx context.Context)
Shutdown gracefully stops all observability components. The caller owns the context and its deadline.
Click to show internal directories.
Click to hide internal directories.