Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TracingHook ¶
type TracingHook struct{}
TracingHook is a pg.QueryHook that adds OpenTelemetry instrumentation.
func (TracingHook) AfterQuery ¶
func (h TracingHook) AfterQuery(ctx context.Context, evt *pg.QueryEvent) error
func (TracingHook) BeforeQuery ¶
Click to show internal directories.
Click to hide internal directories.