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

Function mapEventAttr

tempodb/encoding/vparquet4/block_autocomplete.go:1210–1215  ·  view source on GitHub ↗
(e entry)

Source from the content-addressed store, hash-verified

1208}
1209
1210func mapEventAttr(e entry) traceql.Static {
1211 if e.Key == ColumnPathEventName {
1212 return traceql.NewStaticString(unsafeToString(e.Value.ByteArray()))
1213 }
1214 return traceql.NewStaticNil()
1215}
1216
1217func mapLinkAttr(_ entry) traceql.Static {
1218 return traceql.Static{}

Callers

nothing calls this directly

Calls 3

NewStaticStringFunction · 0.92
NewStaticNilFunction · 0.92
unsafeToStringFunction · 0.70

Tested by

no test coverage detected