Documentation ¶
Index ¶
Constants ¶
View Source
const ( OTLPHttp = OTLPFormat("http") OTLPGrpc = OTLPFormat("grpc") OTLPNone = OTLPFormat("") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OTLPFormat ¶
type OTLPFormat string
type Observability ¶
type Observability interface { Middleware() gin.HandlerFunc Logger() *slog.Logger }
func Init ¶
func Init(ctx context.Context, service string, logLevel slog.Level, metrics OTLPFormat, traces OTLPFormat) (Observability, error)
Click to show internal directories.
Click to hide internal directories.