Documentation
¶
Overview ¶
yo11y contains helpers for setting up the opentelemetry (otel) sdk. The sdks primarily take configuration from the "OTEL_" environment variables.
Index ¶
- func New(c Config) (O11y, O11yReg)
- func NewLog(ctx context.Context, res *resource.Resource, c Config) (*slog.Logger, slog.Handler, http.Handler, error)
- func NewMetric(ctx context.Context, res *resource.Resource, c Config) error
- func NewTrace(ctx context.Context, res *resource.Resource, c Config) (http.Handler, error)
- type Config
- type O11y
- type O11yReg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.