type go.opencensus.io/trace.Attribute
52 uses
go.opencensus.io/trace (current package)
basetypes.go#L47: type Attribute struct {
basetypes.go#L53: func BoolAttribute(key string, value bool) Attribute {
basetypes.go#L54: return Attribute{key: key, value: value}
basetypes.go#L58: func Int64Attribute(key string, value int64) Attribute {
basetypes.go#L59: return Attribute{key: key, value: value}
basetypes.go#L63: func Float64Attribute(key string, value float64) Attribute {
basetypes.go#L64: return Attribute{key: key, value: value}
basetypes.go#L68: func StringAttribute(key string, value string) Attribute {
basetypes.go#L69: return Attribute{key: key, value: value}
trace.go#L383: func (s *Span) copyToCappedAttributes(attributes []Attribute) {
trace.go#L401: func (s *Span) AddAttributes(attributes ...Attribute) {
trace.go#L411: func copyAttributes(m map[string]interface{}, attributes []Attribute) {
trace.go#L417: func (s *Span) lazyPrintfInternal(attributes []Attribute, format string, a ...interface{}) {
trace.go#L434: func (s *Span) printStringInternal(attributes []Attribute, str string) {
trace.go#L452: func (s *Span) Annotate(attributes []Attribute, str string) {
trace.go#L460: func (s *Span) Annotatef(attributes []Attribute, format string, a ...interface{}) {
go.opencensus.io/plugin/ochttp
span_annotating_client_trace.go#L63: attrs := []trace.Attribute{
span_annotating_client_trace.go#L70: attrs := []trace.Attribute{
span_annotating_client_trace.go#L83: var attrs []trace.Attribute
span_annotating_client_trace.go#L100: attrs := []trace.Attribute{
span_annotating_client_trace.go#L111: attrs := []trace.Attribute{
span_annotating_client_trace.go#L122: attrs := []trace.Attribute{
span_annotating_client_trace.go#L130: attrs := []trace.Attribute{
span_annotating_client_trace.go#L146: var attrs []trace.Attribute
span_annotating_client_trace.go#L163: var attrs []trace.Attribute
trace.go#L153: func requestAttrs(r *http.Request) []trace.Attribute {
trace.go#L156: attrs := make([]trace.Attribute, 0, 5)
trace.go#L171: func responseAttrs(resp *http.Response) []trace.Attribute {
trace.go#L172: return []trace.Attribute{
cloud.google.com/go/internal/trace
trace.go#L91: var attrs []trace.Attribute
trace.go#L93: var a trace.Attribute
contrib.go.opencensus.io/integrations/ocsql
driver.go#L162: attrs := make([]trace.Attribute, 0, len(c.options.DefaultAttributes)+2)
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#L290: attrs := append([]trace.Attribute(nil), c.options.DefaultAttributes...)
driver.go#L320: attrs := make([]trace.Attribute, 0, len(c.options.DefaultAttributes)+1)
driver.go#L355: attrs := append([]trace.Attribute(nil), c.options.DefaultAttributes...)
driver.go#L395: attrs := append([]trace.Attribute(nil), c.options.DefaultAttributes...)
driver.go#L489: attrs := make([]trace.Attribute, 0, len(s.options.DefaultAttributes)+2)
driver.go#L536: attrs := make([]trace.Attribute, 0, len(s.options.DefaultAttributes)+2)
driver.go#L581: attrs := append([]trace.Attribute(nil), s.options.DefaultAttributes...)
driver.go#L620: attrs := append([]trace.Attribute(nil), s.options.DefaultAttributes...)
driver.go#L834: func paramsAttr(args []driver.Value) []trace.Attribute {
driver.go#L835: attrs := make([]trace.Attribute, 0, len(args))
driver.go#L843: func namedParamsAttr(args []driver.NamedValue) []trace.Attribute {
driver.go#L844: attrs := make([]trace.Attribute, 0, len(args))
driver.go#L857: func argToAttr(key string, val interface{}) trace.Attribute {
options.go#L52: DefaultAttributes []trace.Attribute
options.go#L80: []trace.Attribute(nil), options.DefaultAttributes...,
options.go#L154: func WithDefaultAttributes(attrs ...trace.Attribute) TraceOption {
golang.org/x/pkgsite/internal/worker
server.go#L410: span.Annotate([]trace.Attribute{trace.Int64Attribute("limit", int64(limit))}, "processed limit")
server.go#L416: span.Annotate([]trace.Attribute{trace.Int64Attribute("modules to fetch", int64(len(modules)))}, "processed limit")
 |
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. |