-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[APM] Transaction duration chart always shows duration in ms
#42375
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
[APM] Transaction duration chart always shows duration in ms
#42375
Conversation
|
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
|
@sqren there are two potential issues remaining:
|
|
Pinging @elastic/apm-ui |
x-pack/legacy/plugins/apm/public/components/shared/charts/TransactionCharts/index.tsx
Show resolved
Hide resolved
sorenlouv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again @bartvanremortele! This looks great, just a few minor comments.
…on-chart-outlier-durations
|
@sqren Ready for review again. I'm interested to pick up more if the other issues should also be fixed. |
|
retest |
💚 Build Succeeded |
|
Thanks again @bartvanremortele! Will you create the backport to 7.x? |
|
Sure! I will do it an hour or so |
|
Verified that unit is adjusted based on max y value. |


Summary
Fixes #42002
This fixes the displaying of the transaction chart's ticks and tooltip. It formats the values to the appropriate unit. I looked into possibly solving this by calling the tick formatter with the max value using
d3.max()but this would require changes to be made on y-axis, axis and axis-ticks inside the react-vis library.Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.For maintainers