Skip to content

[Uptime] Remove double-format for duration value - #30664

Merged
justinkambic merged 1 commit into
elastic:masterfrom
justinkambic:uptime_status-bar-incorrect-unit-values
Feb 11, 2019
Merged

justinkambic merged 1 commit into
elastic:masterfrom
justinkambic:uptime_status-bar-incorrect-unit-values

Conversation

@justinkambic

@justinkambic justinkambic commented Feb 11, 2019 •

Copy link
Copy Markdown
Contributor

Summary

Resolves #30559.

We're presently double-formatting the status bar's duration value from microseconds to milliseconds. This is effectively causing us to display the μs value as fraction number seconds, instead of millis. Given that we append the text ms behind it, this is completely incorrect and confusing (how are my requests completing in 0.3ms???).

These changes will fix that bug. A later change is going to remove any value formatting from the client altogether.

Before

image

After

image

Testing this PR

  • Start up HB
  • Navigate to the Monitor page for one of your configured monitors
  • Look at the status bar. Does the value displayed seem reasonable?

@justinkambic justinkambic added bug Fixes for quality problems that affect the customer experience v7.0.0 Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v6.7.0 labels Feb 11, 2019
@justinkambic justinkambic self-assigned this Feb 11, 2019
@elasticmachine

Copy link
Copy Markdown
Contributor

Pinging @elastic/uptime

@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@andrewvc andrewvc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@justinkambic

Copy link
Copy Markdown
Contributor Author

This defect doesn't exist in the 6.7 branch.

@justinkambic

justinkambic commented Feb 12, 2019 •

Copy link
Copy Markdown
Contributor Author

justinkambic added a commit to justinkambic/kibana that referenced this pull request Feb 14, 2019
@justinkambic
justinkambic deleted the uptime_status-bar-incorrect-unit-values branch February 14, 2019 18:39
@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Fixes for quality problems that affect the customer experience Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.0.0 v7.2.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Uptime] Monitor status bar displaying incorrect duration

3 participants