Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomSpanFunc ¶
type FilterChainBuilder ¶
type FilterChainBuilder struct {
// contains filtered or unexported fields
}
FilterChainBuilder provides an opentelemtry Filter
func NewFilterChainBuilder ¶
func NewFilterChainBuilder(options ...FilterChainOption) *FilterChainBuilder
func (*FilterChainBuilder) FilterChain ¶
func (builder *FilterChainBuilder) FilterChain(next orm.Filter) orm.Filter
FilterChain traces invocation with opentelemetry Unless invocation.Method is Begin*, Commit or Rollback
type FilterChainOption ¶
type FilterChainOption func(fcv *FilterChainBuilder)
func WithCustomSpanFunc ¶
func WithCustomSpanFunc(customSpanFunc CustomSpanFunc) FilterChainOption
WithCustomSpanFunc add function to custom span
Click to show internal directories.
Click to hide internal directories.