[WIP][UI][Trace-Topic] Ideas for optimizing trace panel display #12785
CodePrometheus
started this conversation in
Ideas
Replies: 1 comment
-
This seems reasonable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I. Click to quickly jump to the error span
In practice, there are many scenarios where the trace panel is used to query and locate errors, the ability to quickly locate errors within a trace panel is invaluable, especially in production environments.
To achieve this, I think of a simple PRD. Since I want to express my ideas quickly, please ignore things like the colors used in the image. It will be consistent with the overall.
The functions we want to achieve are:
Errors
field next toSpans
, indicating the total number of error spans within the current trace.Errors
field have a tooltip or informative icon (e.g., "?") that displays the text "Click to quickly jump to the error span" when the user hovers over it.#1
and#4
). When I clickErrors
, the relevant area of#1
is highlighted. When I click again,#4
is highlighted, and click again to return to#1
, By clicking, the highlighting is cycled through all error spans.Errors
, the error span will automatically slide to the middle of the span-list window and highlight it.II. Collapse span
The functions we want to achieve are:
Are you willing to submit a pull request to implement this on your own?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions