Help us shape the future of Go! Take the 2026 Go Developer Survey

observability

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL