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

[Uptime] Added trends chart and deep link to exp view on waterfall step metric markers #114068

Merged
merged 28 commits into from
Oct 19, 2021

Conversation

shahzad31
Copy link
Contributor

@shahzad31 shahzad31 commented Oct 6, 2021

Summary

This is using exploratory view embeddable component.

User can click on the waterfall metric marker to see the recent trend and can also go directlt to the exploratory view to view in details.

Note that this isn't available on custom addd markers.

image

@shahzad31 shahzad31 changed the title [Uptime] Added trends chart and deep link to exp view on waterfall markets [Uptime] Added trends chart and deep link to exp view on waterfall markers Oct 6, 2021
@shahzad31 shahzad31 changed the title [Uptime] Added trends chart and deep link to exp view on waterfall markers [Uptime] Added trends chart and deep link to exp view on waterfall step metric markers Oct 6, 2021
@shahzad31 shahzad31 marked this pull request as ready for review October 18, 2021 19:05
@shahzad31 shahzad31 requested a review from a team as a code owner October 18, 2021 19:05
@shahzad31 shahzad31 self-assigned this Oct 18, 2021
@shahzad31 shahzad31 added v7.16.0 v8.0.0 release_note:skip Skip the PR/issue when compiling release notes labels Oct 18, 2021
Copy link

@drewpost drewpost left a comment

Choose a reason for hiding this comment

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

I think showing the last 48 test results is probably more meaningful but I'm open to either implementation. Ship it @shahzad31

@botelastic botelastic bot added the Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability label Oct 19, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@shahzad31 shahzad31 added the auto-backport Deprecated - use backport:version if exact versions are needed label Oct 19, 2021
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
uptime 664 666 +2

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
observability 265 267 +2

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
observability 381.7KB 382.6KB +999.0B
uptime 571.1KB 573.2KB +2.2KB
total +3.1KB
Unknown metric groups

API count

id before after diff
observability 266 268 +2

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @shahzad31

@justinkambic
Copy link
Contributor

I'd be happier if we had unit tests for the new components. I have created an issue here: #115641.

Copy link
Contributor

@justinkambic justinkambic left a comment

Choose a reason for hiding this comment

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

LGTM! We should add unit tests for the new components, targeting 7.16.

@justinkambic justinkambic merged commit 5477f60 into elastic:master Oct 19, 2021
@justinkambic justinkambic deleted the annotations-chart branch October 19, 2021 19:49
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 19, 2021
…ep metric markers (elastic#114068)

* added trend chart and link to exp view

* Added step level filtering/breakdowns

* fix type

* make step and monitor name single select

* fix test

* added step filters

* pr feedback

* hide step filter for non step metrics

* pr feedback

* remove step def when it's not applicable

* ^^also for step name breakdown

* Update x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/breakdown/breakdowns.tsx

Co-authored-by: Dominique Clarke <[email protected]>

* use side effct

* update monitor filter

* update all_value usage

* refactor

* fix type

* use last value operation

* use last 48 intervals

Co-authored-by: Dominique Clarke <[email protected]>
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Oct 19, 2021
…ep metric markers (#114068) (#115643)

* added trend chart and link to exp view

* Added step level filtering/breakdowns

* fix type

* make step and monitor name single select

* fix test

* added step filters

* pr feedback

* hide step filter for non step metrics

* pr feedback

* remove step def when it's not applicable

* ^^also for step name breakdown

* Update x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/breakdown/breakdowns.tsx

Co-authored-by: Dominique Clarke <[email protected]>

* use side effct

* update monitor filter

* update all_value usage

* refactor

* fix type

* use last value operation

* use last 48 intervals

Co-authored-by: Dominique Clarke <[email protected]>

Co-authored-by: Shahzad <[email protected]>
Co-authored-by: Dominique Clarke <[email protected]>
@shahzad31 shahzad31 removed their assignment Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants