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

Function mapInstrumentationAttr

tempodb/encoding/vparquet5/block_autocomplete.go:1343–1349  ·  view source on GitHub ↗
(e entry)

Source from the content-addressed store, hash-verified

1341}
1342
1343func mapInstrumentationAttr(e entry) traceql.Static {
1344 switch e.Key {
1345 case columnPathInstrumentationName, columnPathInstrumentationVersion:
1346 return traceql.NewStaticString(unsafeToString(e.Value.ByteArray()))
1347 }
1348 return traceql.Static{}
1349}
1350
1351func mapResourceAttr(e entry) traceql.Static {
1352 switch e.Value.Kind() {

Callers

nothing calls this directly

Calls 2

NewStaticStringFunction · 0.92
unsafeToStringFunction · 0.70

Tested by

no test coverage detected