go.opencensus.io/trace.Span.AddAttributes (method)
28 uses
go.opencensus.io/trace (current package)
trace.go#L401: func (s *Span) AddAttributes(attributes ...Attribute) {
go.opencensus.io/plugin/ocgrpc
trace_common.go#L89: span.AddAttributes(
go.opencensus.io/plugin/ochttp
server.go#L132: span.AddAttributes(requestAttrs(r)...)
server.go#L191: span.AddAttributes(trace.Int64Attribute(StatusCodeAttribute, int64(t.statusCode)))
trace.go#L83: span.AddAttributes(requestAttrs(req)...)
trace.go#L91: span.AddAttributes(responseAttrs(resp)...)
contrib.go.opencensus.io/exporter/stackdriver
trace.go#L130: span.AddAttributes(trace.Int64Attribute("num_spans", int64(len(spans))))
trace.go#L174: span.AddAttributes(trace.Int64Attribute("num_spans", int64(len(spans))))
contrib.go.opencensus.io/integrations/ocsql
driver.go#L132: span.AddAttributes(c.options.DefaultAttributes...)
driver.go#L177: span.AddAttributes(attrs...)
driver.go#L216: span.AddAttributes(attrs...)
driver.go#L257: span.AddAttributes(attrs...)
driver.go#L297: span.AddAttributes(attrs...)
driver.go#L326: span.AddAttributes(attrs...)
driver.go#L375: span.AddAttributes(attrs...)
driver.go#L406: span.AddAttributes(attrs...)
driver.go#L446: span.AddAttributes(r.options.DefaultAttributes...)
driver.go#L462: span.AddAttributes(r.options.DefaultAttributes...)
driver.go#L504: span.AddAttributes(attrs...)
driver.go#L551: span.AddAttributes(attrs...)
driver.go#L588: span.AddAttributes(attrs...)
driver.go#L627: span.AddAttributes(attrs...)
driver.go#L735: span.AddAttributes(r.options.DefaultAttributes...)
driver.go#L751: span.AddAttributes(r.options.DefaultAttributes...)
driver.go#L807: span.AddAttributes(t.options.DefaultAttributes...)
driver.go#L823: span.AddAttributes(t.options.DefaultAttributes...)
golang.org/x/pkgsite/internal/worker
fetch.go#L68: span.AddAttributes(
fetch.go#L82: span.AddAttributes(trace.Int64Attribute("numPackages", int64(len(ft.PackageVersionStates))))
![]() |
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. |