Skip to content
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

Summarize Trace data by service and operation #273

Closed
copa2 opened this issue Nov 11, 2018 · 2 comments
Closed

Summarize Trace data by service and operation #273

copa2 opened this issue Nov 11, 2018 · 2 comments

Comments

@copa2
Copy link
Contributor

copa2 commented Nov 11, 2018

Requirement - what kind of business use case are you trying to solve?

As user I want to see where do I loose time in a big trace. This would allow me to better understand where I can optimize.

Problem - what in Jaeger blocks you from solving the requirement?

Tracepage already provides a lot of insights. But it gets a bit overwhelming when viewing traces with 1000 spans.

Proposal - what do you suggest to solve the problem or improve the existing situation?

Add a component which summarize data of a trace:
Count, TotalTime, % of time grouped by service and operation.

NOTE: There is already #158. But it is quite large in context.
This is probably a part of it. I decided to use totalTime instead of Avg. time. It helps more to see which are the big chunks. But we could also add avg. time additionaly to it.

@copa2
Copy link
Contributor Author

copa2 commented Nov 11, 2018

Created a POC for better explaining. If this is of interest I will create a PullRequest.

sumspan

  • Count: 286 calls on this service.operation
  • TotalTime: 9951 ms in this service.operation (sum of 286 span.durations)
  • % of trace: 18.25 % time of the whole trace duration is spent in this service.operation
  • InMethod: 737 ms time spent in this service.operation (Takes TotalTime and subtracts all CHILD_OF durations).

Example of a trace:

jaegeruigooglechrome1111

@yurishkuro
Copy link
Member

@copa2 this looks awesome! A PR would be great. A couple of notes on the UI:

  • once you switch to trace graph, I think it would be useful to keep the trace header the same as on the Trace View (except for minimap). It would also allow switching back to the Gantt chart view or other views. In fact, in the long term it would be great to have those views toggled without reloading the page.
  • have popups explaining what each number means

copa2 added a commit to copa2/jaeger-ui that referenced this issue Nov 13, 2018
Add alternative view in TracePage which allows
to see count,time,percent for a given trace
grouped by service and operation

Signed-off-by: Patrick Coray <[email protected]>
copa2 added a commit to copa2/jaeger-ui that referenced this issue Nov 23, 2018
Add alternative view in TracePage which allows
to see count,time,percent for a given trace
grouped by service and operation

Signed-off-by: Patrick Coray <[email protected]>
copa2 added a commit to copa2/jaeger-ui that referenced this issue Nov 23, 2018
Add alternative view in TracePage which allows
to see count,time,percent total time, self-time for
a given trace grouped by service and operation

Signed-off-by: Patrick Coray <[email protected]>
copa2 added a commit to copa2/jaeger-ui that referenced this issue Nov 23, 2018
Add alternative view in TracePage which allows
to see count,time,percent total time, self-time for
a given trace grouped by service and operation

Signed-off-by: Patrick Coray <[email protected]>
copa2 added a commit to copa2/jaeger-ui that referenced this issue Nov 23, 2018
Add alternative view in TracePage which allows
to see count,time,percent total time, self-time for
a given trace grouped by service and operation

Signed-off-by: Patrick Coray <[email protected]>
copa2 added a commit to copa2/jaeger-ui that referenced this issue Dec 17, 2018
Add alternative view in TracePage which allows
to see count,time,percent total time, self-time for
a given trace grouped by service and operation

Signed-off-by: Patrick Coray <[email protected]>
copa2 added a commit to copa2/jaeger-ui that referenced this issue Dec 18, 2018
Add alternative view in TracePage which allows
to see count, avg. time, total time and self time for
a given trace grouped by service and operation.

Signed-off-by: Patrick Coray <[email protected]>
tiffon pushed a commit that referenced this issue Dec 18, 2018
Add alternative view in TracePage which allows
to see count, avg. time, total time and self time for
a given trace grouped by service and operation.

Signed-off-by: Patrick Coray <[email protected]>
everett980 pushed a commit to everett980/jaeger-ui that referenced this issue Jan 16, 2019
Add alternative view in TracePage which allows
to see count, avg. time, total time and self time for
a given trace grouped by service and operation.

Signed-off-by: Patrick Coray <[email protected]>
Signed-off-by: Everett Ross <[email protected]>
vvvprabhakar pushed a commit to vvvprabhakar/jaeger-ui that referenced this issue Jul 5, 2021
Add alternative view in TracePage which allows
to see count, avg. time, total time and self time for
a given trace grouped by service and operation.

Signed-off-by: Patrick Coray <[email protected]>
Signed-off-by: vvvprabhakar <[email protected]>
vvvprabhakar pushed a commit to vvvprabhakar/jaeger-ui that referenced this issue Jul 5, 2021
Add alternative view in TracePage which allows
to see count, avg. time, total time and self time for
a given trace grouped by service and operation.

Signed-off-by: Patrick Coray <[email protected]>
Signed-off-by: Everett Ross <[email protected]>

Signed-off-by: vvvprabhakar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants