Skip to content

[APM][Unified Waterfall] Show related errors count and add failure badge#227413

Merged
iblancof merged 24 commits intoelastic:mainfrom
iblancof:225475-apmunified-waterfall-add-error-count-to-the-badge
Jul 17, 2025
Merged

[APM][Unified Waterfall] Show related errors count and add failure badge#227413
iblancof merged 24 commits intoelastic:mainfrom
iblancof:225475-apmunified-waterfall-add-error-count-to-the-badge

Conversation

@iblancof
Copy link
Contributor

Summary

Closes #225475

In this PR, we're introducing two additions to the new Unified Waterfall used in Discover.

I'll include APM screenshots for comparison, as a quick check to confirm that we've reached parity between the APM waterfall and the Unified Waterfall for these two elements for now.

Errors count in the "View related errors" badge

APM Discover Waterfall
Screenshot 2025-07-10 at 12 35 20 Screenshot 2025-07-10 at 12 35 55 Screenshot 2025-07-10 at 12 36 03

Add missing "failure" badge in trace items

APM Discover Waterfall
Screenshot 2025-07-10 at 11 45 50 Screenshot 2025-07-10 at 11 46 36 Screenshot 2025-07-10 at 11 46 45
@iblancof iblancof self-assigned this Jul 10, 2025
@iblancof iblancof requested a review from a team July 10, 2025 10:48
@iblancof iblancof added backport:skip This PR does not require backporting release_note:feature Makes this part of the condensed release notes Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation. v9.2.0 labels Jul 10, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@iblancof iblancof added v9.1.0 v8.19.0 release_note:skip Skip the PR/issue when compiling release notes backport:version Backport to applied version labels and removed backport:skip This PR does not require backporting release_note:feature Makes this part of the condensed release notes labels Jul 10, 2025
iblancof and others added 2 commits July 10, 2025 17:27
…hared/trace_waterfall/bar_details.tsx

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
@iblancof iblancof removed release_note:skip Skip the PR/issue when compiling release notes backport:version Backport to applied version labels v9.1.0 v8.19.0 labels Jul 10, 2025
@iblancof iblancof added the Feature:Discover Discover Application label Jul 10, 2025
@iblancof iblancof requested a review from cauemarcondes July 11, 2025 13:41
Copy link
Contributor

@miloszmarcinkowski miloszmarcinkowski left a comment

Choose a reason for hiding this comment

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

LGTM, tested locally.

Copy link
Contributor

@miloszmarcinkowski miloszmarcinkowski left a comment

Choose a reason for hiding this comment

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

Thanks for adjusting the logic. Even if we decide to opt out (comment) maybe we can keep the new logic, since it's easier to extend in the future?

Copy link
Contributor

@cauemarcondes cauemarcondes left a comment

Choose a reason for hiding this comment

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

LGTM

@iblancof iblancof enabled auto-merge (squash) July 17, 2025 08:40
@iblancof iblancof merged commit 1c4d486 into elastic:main Jul 17, 2025
13 checks passed
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #82 / Stateful Observability - Deployment-agnostic APM API integration tests APM alerts preview chart transaction duration with data loaded transaction_duration: with data loaded with empty service name, transaction name and transaction type

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
apm 2011 2014 +3

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
@kbn/apm-types 358 359 +1

Async chunks

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

id before after diff
apm 2.6MB 2.6MB +591.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
apm 34.3KB 34.3KB +2.0B
Unknown metric groups

API count

id before after diff
@kbn/apm-types 359 360 +1

History

cc @iblancof

Bluefinger pushed a commit to Bluefinger/kibana that referenced this pull request Jul 22, 2025
…dge (elastic#227413)

## Summary

Closes elastic#225475

In this PR, we're introducing two additions to the new Unified Waterfall
used in Discover.

I'll include APM screenshots for comparison, as a quick check to confirm
that we've reached parity between the APM waterfall and the Unified
Waterfall for these two elements for now.

 **Errors count in the "View related errors" badge**

|APM|Discover|Waterfall|
|-|-|-|
|![Screenshot 2025-07-10 at 12 35
20](https://github.com/user-attachments/assets/6845d284-b8f9-43dd-92a5-aac4480d5da5)|![Screenshot
2025-07-10 at 12 35
55](https://github.com/user-attachments/assets/6a386c10-78d7-4b83-a778-d1802bb5cb60)|![Screenshot
2025-07-10 at 12 36
03](https://github.com/user-attachments/assets/0adeceba-f649-4595-809c-01a2f28dc057)|

**Add missing "failure" badge in trace items**

|APM|Discover|Waterfall|
|-|-|-|
|![Screenshot 2025-07-10 at 11 45
50](https://github.com/user-attachments/assets/7433e523-bcfc-498e-9e0c-24d4924359d1)|![Screenshot
2025-07-10 at 11 46
36](https://github.com/user-attachments/assets/669ea370-4f95-4c3c-8fda-50e84765d4c8)|![Screenshot
2025-07-10 at 11 46
45](https://github.com/user-attachments/assets/d57f578d-7bdf-4c34-afd4-69665a694e65)|

---------

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
kertal pushed a commit to kertal/kibana that referenced this pull request Jul 25, 2025
…dge (elastic#227413)

## Summary

Closes elastic#225475

In this PR, we're introducing two additions to the new Unified Waterfall
used in Discover.

I'll include APM screenshots for comparison, as a quick check to confirm
that we've reached parity between the APM waterfall and the Unified
Waterfall for these two elements for now.

 **Errors count in the "View related errors" badge**

|APM|Discover|Waterfall|
|-|-|-|
|![Screenshot 2025-07-10 at 12 35
20](https://github.com/user-attachments/assets/6845d284-b8f9-43dd-92a5-aac4480d5da5)|![Screenshot
2025-07-10 at 12 35
55](https://github.com/user-attachments/assets/6a386c10-78d7-4b83-a778-d1802bb5cb60)|![Screenshot
2025-07-10 at 12 36
03](https://github.com/user-attachments/assets/0adeceba-f649-4595-809c-01a2f28dc057)|

**Add missing "failure" badge in trace items**

|APM|Discover|Waterfall|
|-|-|-|
|![Screenshot 2025-07-10 at 11 45
50](https://github.com/user-attachments/assets/7433e523-bcfc-498e-9e0c-24d4924359d1)|![Screenshot
2025-07-10 at 11 46
36](https://github.com/user-attachments/assets/669ea370-4f95-4c3c-8fda-50e84765d4c8)|![Screenshot
2025-07-10 at 11 46
45](https://github.com/user-attachments/assets/d57f578d-7bdf-4c34-afd4-69665a694e65)|

---------

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@iblancof iblancof deleted the 225475-apmunified-waterfall-add-error-count-to-the-badge branch August 27, 2025 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting Feature:Discover Discover Application release_note:feature Makes this part of the condensed release notes Team:obs-ux-infra_services - DEPRECATED DEPRECATED - Use Team:obs-presentation. v9.2.0

7 participants