-
Notifications
You must be signed in to change notification settings - Fork 486
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
Add ability to display unadjusted trace in the UI #197
Comments
If you would provide me with some pointers where to start; i would be willing to tackle this issue! |
@MichaHoffmann this requires some backend change per the parent issue jaegertracing/jaeger#961, but if you could propose changes for the UI to add visual cues of clock skew adjustment, it would be very helpful (even the design phase). |
@yurishkuro i was thinking of querying the query service with |
?raw parameter disables all other adjustments, in some cases the result would break the UI. I don't know of a good reason to disable other adjustments besides clock skew, that's why I think we need and API extension for that on the backend. On the UI, I suppose we could start with just a toggle, but I was thinking of some visual indicator on the spans themselves to make it obvious that some of them have been shifted on the timeline. |
In my usecase the adjustments make the traces unsuable, sadly. Its hard to imagine a visual indicator that would not clutter the UI ( in case of large traces even more so ). Its correcting the events that should logically and temporally be last almost to the front ( also shifting them vertically ). I feel that toggeling the query paramter ( that has to be introduced maybe ) has less points of failure then improved rendering. Edit: What do you think of just passing the enabled renderers to the query backend via query paramters? One could then just select the adjusters that are wanted. |
The indicator can be relatively subtle, like a small red dot on the span bar. But like I said, we can do that later. The current adjusters are here: In order for the user to be able to select adjusters, we need to make UI aware of them. The actual list today is customizable by building a custom binary. I don't think it's prudent to make the end user fully aware of all the adjustments done by the UI. So far clock skew is the only one that makes sense to control. |
I would ( maybe in addition to the indicator ) appreciate the option to turn the clock-skew adjustment off. For testing purposes i did build a custom binary, is this the recommended approach? I would love to start working on the queryservice, could you help me getting started? I imagine adding an 'adjusted' field to the response is necessary to render the red dot. Also propably an additional boolean query paramter 'skew' or something that filters the clock skew adjuster during the adjustment phase. |
Any progress on this? |
nobody claimed this, it's up for grabs |
This would be a hugely useful feature addition. In my case, the actual span times are correct and the UI is applying adjustment randomly, which ends up incorrectly reordering the spans. |
We added the ability to view the raw unadjusted trace json in the UI. However, it would be nice if we could actually visualize the unadjusted trace for certain use cases:
Parent issue: jaegertracing/jaeger#961
The text was updated successfully, but these errors were encountered: