(in []Attribute)
| 1310 | } |
| 1311 | |
| 1312 | func 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 | |
| 1323 | func trimForSelectAll(tr *Trace) { |
| 1324 | for i, rs := range tr.ResourceSpans { |