(ss *tempopb.SpanSet)
| 306 | } |
| 307 | |
| 308 | func spansetID(ss *tempopb.SpanSet) string { |
| 309 | id := "" |
| 310 | |
| 311 | for _, s := range ss.Attributes { |
| 312 | // any attributes that start with "by" are considered to be part of the spanset identity |
| 313 | if strings.HasPrefix(s.Key, "by") { |
| 314 | id += s.Key + s.Value.String() |
| 315 | } |
| 316 | } |
| 317 | |
| 318 | return id |
| 319 | } |
| 320 | |
| 321 | type QueryRangeCombiner struct { |
| 322 | req *tempopb.QueryRangeRequest |
no test coverage detected