-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Time on x-axis doesn't align with time in tooltip #47832
Comments
Pinging @elastic/apm-ui (Team:apm) |
|
Thanks for your help. I've created this issue to track this problem. The main problem is that the Kibana timezone settings are different from your local browser timezone settings. APM UI unfortunately doesn't handle this case well at the moment. As a workaround you can change the Kibana Timezone settings to match that of your local browser. This only works if you don't have colleagues in other timezones who also uses the Kibana instance. |
* Don't set the timezone anywhere in APM since it's already set in autoload * Always use the local timezone for the chart tooltip This makes the timezone handling consitently use the users set preference _except_ in the charts where the local time is always used. In the charts we have to go through react-vis and d3-scale and nothing I tried to modify the scale on the x-axis ever really worked. We could revisit this later. Fixes elastic#47832 Fixes elastic#48355
* Don't set the timezone anywhere in APM since it's already set in autoload For the chart X-axes: * Create nice ticks for the configured timezone (ie at 1w, 1d, 12hrs interval) by offsetting the xMin/xMax * Explicitly pass those tick values to the x-axis * When formatting, use scaleUtc to format everything as UTC, and offset the time again with the configured timezone. Fixes elastic#47832 Fixes elastic#48355
* Don't set the timezone anywhere in APM since it's already set in autoload For the chart X-axes: * Create nice ticks for the configured timezone (ie at 1w, 1d, 12hrs interval) by offsetting the xMin/xMax * Explicitly pass those tick values to the x-axis * When formatting, use scaleUtc to format everything as UTC, and offset the time again with the configured timezone. Fixes #47832 Fixes #48355
* Don't set the timezone anywhere in APM since it's already set in autoload For the chart X-axes: * Create nice ticks for the configured timezone (ie at 1w, 1d, 12hrs interval) by offsetting the xMin/xMax * Explicitly pass those tick values to the x-axis * When formatting, use scaleUtc to format everything as UTC, and offset the time again with the configured timezone. Fixes elastic#47832 Fixes elastic#48355
* Don't set the timezone anywhere in APM since it's already set in autoload For the chart X-axes: * Create nice ticks for the configured timezone (ie at 1w, 1d, 12hrs interval) by offsetting the xMin/xMax * Explicitly pass those tick values to the x-axis * When formatting, use scaleUtc to format everything as UTC, and offset the time again with the configured timezone. Fixes #47832 Fixes #48355
I cannot match the time values with the abscissa signatures.
The text was updated successfully, but these errors were encountered: