MCPcopy
hub / github.com/grafana/tempo / span

Struct span

tempodb/encoding/vparquet3/block_traceql.go:38–54  ·  view source on GitHub ↗

span implements traceql.Span

Source from the content-addressed store, hash-verified

36
37// span implements traceql.Span
38type span struct {
39 spanAttrs []attrVal
40 resourceAttrs []attrVal
41 traceAttrs []attrVal
42
43 id []byte
44 startTimeUnixNanos uint64
45 durationNanos uint64
46 nestedSetParent int32
47 nestedSetLeft int32
48 nestedSetRight int32
49
50 // metadata used to track the span in the parquet file
51 rowNum parquetquery.RowNumber
52 cbSpansetFinal bool
53 cbSpanset *traceql.Spanset
54}
55
56func (s *span) AllAttributes() map[traceql.Attribute]traceql.Static {
57 atts := make(map[traceql.Attribute]traceql.Static, len(s.spanAttrs)+len(s.resourceAttrs)+len(s.traceAttrs))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected