func WithAllTraceOptions() TraceOption {
	return func(o *TraceOptions) {
		*o = AllTraceOptions
	}
}
WithAllTraceOptions enables all available trace options.
package ocsql
import (
	"go.opencensus.io/trace"
)
type TraceOption func(o *TraceOptions)
const defaultInstanceName = "default"
type TraceOptions struct {
	AllowRoot bool
	Ping bool
	RowsNext bool
	RowsClose bool
	RowsAffected bool
	LastInsertID bool
	Query bool
	QueryParams bool
	DefaultAttributes []trace.Attribute
	InstanceName string
	DisableErrSkip bool
	Sampler trace.Sampler
}