Skip to content
Permalink
Browse files
Filter invalid spans
  • Loading branch information
sile committed Oct 30, 2017
1 parent 94429c2 commit bedcb98738800faeffec9ff9b12d59da4ddc7af1
Showing 1 changed file with 6 additions and 1 deletion.
@@ -106,7 +106,12 @@ make_spans(Spans) ->
make_span(Span) ->
Context = passage_span:get_context(Span),
TraceId = jaeger_passage_span_context:get_trace_id(Context),
Refs = passage_span:get_refs(Span),
Refs =
lists:filter(
fun ({_, S}) ->
0 =/= jaeger_passage_span_context:get_span_id(passage_span:get_context(S))
end,
passage_span:get_refs(Span)),
ParentSpanId =
case Refs of
[{_, Parent} | _] ->

0 comments on commit bedcb98

Please sign in to comment.