go.opencensus.io/trace.Span.lruAttributes (field)
8 uses
go.opencensus.io/trace (current package)
trace.go#L48: lruAttributes *lruMap
trace.go#L244: span.lruAttributes = newLruMap(cfg.MaxAttributesPerSpan)
trace.go#L299: if s.lruAttributes.len() > 0 {
trace.go#L301: sd.DroppedAttributeCount = s.lruAttributes.droppedCount
trace.go#L372: attributes := make(map[string]interface{}, s.lruAttributes.len())
trace.go#L373: for _, key := range s.lruAttributes.keys() {
trace.go#L374: value, ok := s.lruAttributes.get(key)
trace.go#L385: s.lruAttributes.add(a.key, a.value)
![]() |
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. |