finalizeTrace augments and optimized the trace by calculating service stats, nested set model bounds and removing redundant scope spans and resource spans. The function returns the modified trace as well as a boolean indicating whether the trace is a connected graph.
(trace *Trace)
| 579 | // and removing redundant scope spans and resource spans. The function returns the modified trace as well |
| 580 | // as a boolean indicating whether the trace is a connected graph. |
| 581 | func finalizeTrace(trace *Trace) (*Trace, bool) { |
| 582 | rebatchTrace(trace) |
| 583 | return trace, assignNestedSetModelBoundsAndServiceStats(trace) |
| 584 | } |
| 585 | |
| 586 | func instrumentationScopeToParquet(s *v1.InstrumentationScope, ss *InstrumentationScope) { |
| 587 | if s == nil { |
no test coverage detected