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
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |