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

Brings back relative width in trace query screen #2232

Merged
merged 1 commit into from
Nov 2, 2018

Conversation

codefromthecrypt
Copy link
Member

This fixes a bug in the trace query screen and reorganizes code to more
easily tell which screens need which data from the trace summary.

Before:
screen shot 2018-11-01 at 4 56 19 pm

After:
screen shot 2018-11-01 at 4 55 35 pm

This fixes a bug in the trace query screen and reorganizes code to more
easily tell which screens need which data from the trace summary.
@@ -227,40 +231,32 @@ export function traceSummariesToMustache(serviceName = null, traceSummaries, utc
return [];
} else {
const traceSummariesCleaned = removeEmptyFromArray(traceSummaries);
const maxDuration = Math.max(...traceSummariesCleaned.map((s) => s.duration)) / 1000;
Copy link
Member Author

@codefromthecrypt codefromthecrypt Nov 1, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was the bug. all the data are in microseconds, yet somehow this line thought it should be millis :P

@codefromthecrypt codefromthecrypt added bug ui Zipkin UI labels Nov 1, 2018
@codefromthecrypt codefromthecrypt merged commit 4f87ac0 into master Nov 2, 2018
@codefromthecrypt codefromthecrypt deleted the bring-back-width branch November 2, 2018 08:15
abesto pushed a commit to abesto/zipkin that referenced this pull request Sep 10, 2019
This fixes a bug in the trace query screen and reorganizes code to more
easily tell which screens need which data from the trace summary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ui Zipkin UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant