span implements traceql.Span
| 36 | |
| 37 | // span implements traceql.Span |
| 38 | type 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 | |
| 56 | func (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)) |
nothing calls this directly
no outgoing calls
no test coverage detected