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

Function mapInstrumentationAttr

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

Source from the content-addressed store, hash-verified

1282}
1283
1284func mapInstrumentationAttr(e entry) traceql.Static {
1285 switch e.Key {
1286 case columnPathInstrumentationName, columnPathInstrumentationVersion:
1287 return traceql.NewStaticString(unsafeToString(e.Value.ByteArray()))
1288 }
1289 return traceql.Static{}
1290}
1291
1292func mapResourceAttr(e entry) traceql.Static {
1293 switch e.Value.Kind() {

Callers

nothing calls this directly

Calls 2

NewStaticStringFunction · 0.92
unsafeToStringFunction · 0.70

Tested by

no test coverage detected