contrib.go.opencensus.io/integrations/ocsql.TraceOptions.DefaultAttributes (field)
34 uses
contrib.go.opencensus.io/integrations/ocsql (current package)
driver.go#L131: if len(c.options.DefaultAttributes) > 0 {
driver.go#L132: span.AddAttributes(c.options.DefaultAttributes...)
driver.go#L162: attrs := make([]trace.Attribute, 0, len(c.options.DefaultAttributes)+2)
driver.go#L163: attrs = append(attrs, c.options.DefaultAttributes...)
driver.go#L209: attrs := append([]trace.Attribute(nil), c.options.DefaultAttributes...)
driver.go#L242: attrs := make([]trace.Attribute, 0, len(c.options.DefaultAttributes)+2)
driver.go#L243: attrs = append(attrs, c.options.DefaultAttributes...)
driver.go#L290: attrs := append([]trace.Attribute(nil), c.options.DefaultAttributes...)
driver.go#L320: attrs := make([]trace.Attribute, 0, len(c.options.DefaultAttributes)+1)
driver.go#L321: attrs = append(attrs, c.options.DefaultAttributes...)
driver.go#L355: attrs := append([]trace.Attribute(nil), c.options.DefaultAttributes...)
driver.go#L395: attrs := append([]trace.Attribute(nil), c.options.DefaultAttributes...)
driver.go#L445: if len(r.options.DefaultAttributes) > 0 {
driver.go#L446: span.AddAttributes(r.options.DefaultAttributes...)
driver.go#L461: if len(r.options.DefaultAttributes) > 0 {
driver.go#L462: span.AddAttributes(r.options.DefaultAttributes...)
driver.go#L489: attrs := make([]trace.Attribute, 0, len(s.options.DefaultAttributes)+2)
driver.go#L490: attrs = append(attrs, s.options.DefaultAttributes...)
driver.go#L536: attrs := make([]trace.Attribute, 0, len(s.options.DefaultAttributes)+2)
driver.go#L537: attrs = append(attrs, s.options.DefaultAttributes...)
driver.go#L581: attrs := append([]trace.Attribute(nil), s.options.DefaultAttributes...)
driver.go#L620: attrs := append([]trace.Attribute(nil), s.options.DefaultAttributes...)
driver.go#L734: if len(r.options.DefaultAttributes) > 0 {
driver.go#L735: span.AddAttributes(r.options.DefaultAttributes...)
driver.go#L750: if len(r.options.DefaultAttributes) > 0 {
driver.go#L751: span.AddAttributes(r.options.DefaultAttributes...)
driver.go#L806: if len(t.options.DefaultAttributes) > 0 {
driver.go#L807: span.AddAttributes(t.options.DefaultAttributes...)
driver.go#L822: if len(t.options.DefaultAttributes) > 0 {
driver.go#L823: span.AddAttributes(t.options.DefaultAttributes...)
options.go#L52: DefaultAttributes []trace.Attribute
options.go#L79: o.DefaultAttributes = append(
options.go#L80: []trace.Attribute(nil), options.DefaultAttributes...,
options.go#L156: o.DefaultAttributes = attrs
 |
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. |