contrib.go.opencensus.io/integrations/ocsql.TraceOptions.AllowRoot (field)

15 uses

	contrib.go.opencensus.io/integrations/ocsql (current package)
		driver.go#L128: 	if c.options.Ping && (c.options.AllowRoot || trace.FromContext(ctx) != nil) {
		driver.go#L157: 		if !c.options.AllowRoot {
		driver.go#L199: 		if !c.options.AllowRoot && parentSpan == nil {
		driver.go#L237: 		if !c.options.AllowRoot {
		driver.go#L280: 		if !c.options.AllowRoot && parentSpan == nil {
		driver.go#L318: 	if c.options.AllowRoot {
		driver.go#L356: 	if c.options.AllowRoot || trace.FromContext(ctx) != nil {
		driver.go#L387: 	if !c.options.AllowRoot && trace.FromContext(ctx) == nil {
		driver.go#L484: 	if !s.options.AllowRoot {
		driver.go#L531: 	if !s.options.AllowRoot {
		driver.go#L570: 	if !s.options.AllowRoot && parentSpan == nil {
		driver.go#L609: 	if !s.options.AllowRoot && parentSpan == nil {
		options.go#L19: 	AllowRoot bool
		options.go#L64: 	AllowRoot:    true,
		options.go#L91: 		o.AllowRoot = b