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

Function trimArrayAttrs

tempodb/encoding/vparquet4/block_traceql_test.go:1312–1321  ·  view source on GitHub ↗
(in []Attribute)

Source from the content-addressed store, hash-verified

1310}
1311
1312func trimArrayAttrs(in []Attribute) []Attribute {
1313 out := []Attribute{}
1314 for _, a := range in {
1315 if a.IsArray || a.ValueUnsupported != nil {
1316 continue
1317 }
1318 out = append(out, a)
1319 }
1320 return out
1321}
1322
1323func trimForSelectAll(tr *Trace) {
1324 for i, rs := range tr.ResourceSpans {

Callers 1

trimForSelectAllFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected