-
Notifications
You must be signed in to change notification settings - Fork 484
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
Rendering traces with spans containing a 'FOLLOWS_FROM' reference seems broken #115
Comments
Bisected commit is part of #53 I believe, hence referencing. |
Here's the JSON serialization of a trace exposing this as served by Jaeger on the {
"data": [
{
"processes": {
"p1": {
"serviceName": "issue115",
"tags": []
}
},
"spans": [
{
"duration": 1173,
"flags": 1,
"logs": [],
"operationName": "thread",
"processID": "p1",
"references": [
{
"refType": "FOLLOWS_FROM",
"spanID": "ea7cfaca83f0724b",
"traceID": "2992f2a5b5d037a8aabffd08ef384237"
}
],
"spanID": "1bdf4201221bb2ac",
"startTime": 1509533706521220,
"tags": [],
"traceID": "2992f2a5b5d037a8aabffd08ef384237",
"warnings": null
},
{
"duration": 70406,
"flags": 1,
"logs": [],
"operationName": "demo",
"processID": "p1",
"references": [],
"spanID": "ea7cfaca83f0724b",
"startTime": 1509533706470949,
"tags": [],
"traceID": "2992f2a5b5d037a8aabffd08ef384237",
"warnings": null
}
],
"traceID": "2992f2a5b5d037a8aabffd08ef384237",
"warnings": null
}
],
"errors": null,
"limit": 0,
"offset": 0,
"total": 0
} This is a trace within a single process with one 'root' span, and one more span which |
@NicolasT Thanks for reporting and for the great info. Will see about replicating this and adding to our test cases... 👍 |
Signed-off-by: Joe Farro <[email protected]>
* Handle FOLLOWS_FROM refs when making span tree * Add test-case for issue #115 * Handle FOLLOWS_FROM in scrolling shortcuts Signed-off-by: Joe Farro <[email protected]>
My original test-case (of which the trace above is just a subset) now works fine 👍 |
Awesome. Thanks for the confirmation, @NicolasT 👍 |
I'm having a similar issue that seems closely related to this one. I did try to update the Query component to the newest version (used the As NicolasT reported, there's no error shown in the Chrome Console and the spinner keeps spinning. Here's a JSON that should reproduce the problem: https://gist.github.com/ledor473/d5c68c6a75b8d57d80b5f65c16c5243f I had to truncate a bunch of information, but I think I preserved the traceID/spanID intact. Should I file a new issue or here is a good place to start? |
@ledor473 Likely the very same issue. The Or wait for the @jaegertracing devs to update the |
Sorry bout this, we're trying to land a couple of new features before cutting a new version. Although in the future looks like cutting a patch every time we have a major UI update or bug fix doesn't sound like a bad idea. |
Sounds good! |
Thanks @NicolasT @black-adder! I can confirm the fix is working 👌 |
* Handle FOLLOWS_FROM refs when making span tree * Add test-case for issue jaegertracing#115 * Handle FOLLOWS_FROM in scrolling shortcuts Signed-off-by: Joe Farro <[email protected]> Signed-off-by: vvvprabhakar <[email protected]>
Description
I have a test program for a new client library which generates traces and sends these into Jaeger. Since a couple of days, the UI fails to properly display these traces. Initially I noticed this because the search page, upon a search request, fails to load (spinner keeps spinning).
At first I suspected my client lib, but the generated traces seem fine, and the corresponding JSON is served properly to the UI.
After some more testing I believe the issue is due to a
FOLLOWS_FROM
span in my trace, triggering the issue. Hence I bisectedjaeger
(betweenv0.6.0
and currentmaster
), which pointed at jaegertracing/jaeger@162470dHence I bisected the
jaeger-ui
submodule (usingjaeger
master
), which pointed at 69d84b901Indeed, when using
jaeger-ui
69d84b901^
things work fine.I'm not familiar with the
jaeger-ui
codebase, but 69d84b901#diff-8a263673c6caa913587233948bfb8af2R79 (and theError
being thrown for a non-CHILD_OF
reference) raises suspicion. ThisError
isn't propagated in the Chrome devtools console, but when setting a breakpoint, this code path is reached.Note: all testing is done using
standalone-linux
, memory back-end.Steps to reproduce the issue:
FOLLOWS_FROM
referenceFind Traces
I'll try to create a minimal trace exposing this, and attach the corresponding JSON to the ticket.
Describe the results you received:
UI 'hangs'. Also, browsing to the
/trace/<traceId>
page fails to load the trace properly.Describe the results you expected:
My trace being displayed, as older versions of
jaeger-ui
do.The text was updated successfully, but these errors were encountered: