Versions in this module Expand all Collapse all v0 v0.1.0 Aug 30, 2023 Changes in this version + const EventCall + const EventDBCall + const EventDBReturn + const EventEnd + const EventReturn + const EventStart + func GRPCStreamClientInterceptor() grpc.DialOption + func GRPCStreamServerInterceptor() grpc.ServerOption + func GRPCUnaryClientInterceptor() grpc.DialOption + func GRPCUnaryServerInterceptor() grpc.ServerOption + func Init(target string) func() + func InsertHeader(r *http.Request) *http.Request + func Open(driverName, dataSourceName string) (*sql.DB, error) + func OpenDB(c driver.Connector) *sql.DB + func Report(ctx context.Context, e event.Event, metadata ...any) context.Context + func SetInstrumenter(key Key) + func WrapHTTPClient(client *http.Client) *http.Client + func WrapHandler(handler http.Handler) http.Handler + func WrapHandlerFunc(handlerFunc http.HandlerFunc) http.HandlerFunc + type Instrumenter interface + Init func() func() + InsertHeader func(r *http.Request) *http.Request + Report func(ctx context.Context, e event.Event, metadata ...any) context.Context + WrapHTTPClient func(client *http.Client) *http.Client + WrapHandler func(handler http.Handler) http.Handler + WrapHandlerFunc func(handlerFunc http.HandlerFunc) http.HandlerFunc + type Key string + const Console + const DD + const OTel