-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Process FOLLOWS_FROM spans in TraceView #335
Conversation
577e1a0
to
38efa49
Compare
Codecov Report
@@ Coverage Diff @@
## master #335 +/- ##
==========================================
+ Coverage 83.17% 83.18% +0.01%
==========================================
Files 145 145
Lines 3221 3224 +3
Branches 656 658 +2
==========================================
+ Hits 2679 2682 +3
Misses 434 434
Partials 108 108
Continue to review full report at Codecov.
|
packages/jaeger-ui/src/components/TracePage/TraceTimelineViewer/SpanTreeOffset.js
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a comment with a suggestion. What do you think?
I like the algorithm you put in the comments, simpler that mine, at the beginning I thought we will give an special treatment to the FOLLOWS_FROM, that is why I split it in two different things, but after an analysis of my implementation and your code it seems like from the UI perspective (or at least for this view) we won't do a distinction. Correct me if this is wrong. I'll simplify my code. |
I also think that we need to put some tests for this, to avoid regressions. |
96ecc7e
to
a60fd50
Compare
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
a60fd50
to
9644965
Compare
Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
@tiffon @everett980 I added one test to take FOLLOWS_FROM into account. I think this is ready for another review, if there is no more comments and you decide it's ok, then it is ready for merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks! 👍
* Process FOLLOWS_FROM spans in TraceView Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com> * Add test for FOLLOWS_FROM span relation for SpanTreeOffset Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com>
* Process FOLLOWS_FROM spans in TraceView Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com> * Add test for FOLLOWS_FROM span relation for SpanTreeOffset Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com> Signed-off-by: vvvprabhakar <vvvprabhakar@gmail.com>
* Process FOLLOWS_FROM spans in TraceView Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com> * Add test for FOLLOWS_FROM span relation for SpanTreeOffset Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com> Signed-off-by: vvvprabhakar <vvvprabhakar@gmail.com>
Which problem is this PR solving?
Short description of the changes
Not sure if this is the proper way of handling this, I left two comments for two assumptions that I did. if some of the maintainers can review please. @tiffon @everett980
Thanks!