Update the trace waterfall to make it easy to understand#250442
Update the trace waterfall to make it easy to understand#250442sbelastic merged 11 commits intoelastic:mainfrom
Conversation
|
Pinging @elastic/obs-presentation-team (Team:obs-presentation) |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#10612[✅] x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.ts: 15/15 tests passed. |
crespocarlos
left a comment
There was a problem hiding this comment.
Thanks for the working on this.
What we're changing will here will create a difference between APM and Traces in Discover (see https://github.com/elastic/kibana/tree/main/x-pack/solutions/observability/plugins/apm/public/components/shared/trace_waterfall). Eventually the code from traces in discover will replace this one, so I wonder if we should change in both places.
| } | ||
|
|
||
| return ( | ||
| <EuiBadge color="hollow" iconType="cluster"> |
There was a problem hiding this comment.
Why did we choose cluster iconType? I don't know if there is a better one, but I'm wondering if we need an icon at all.
There was a problem hiding this comment.
I just chose one, we can certainly remove it if you think it's best to not have an icon, but because we have more badges, an icon is useful to distinguish from the other badges in the waterfall item. Maybe I should find a better one.
Update: This was aligned to the team responsible with the component, will not be done in this PR |
💔 Build Failed
Failed CI StepsHistory
cc @sbelastic |
* commit '5c0872d56bc0268177cd3c7150a1685481fb5238': (221 commits) Add .cursorignore file (elastic#251709) [Search] Add descriptions to semantic_text field inference endpoint select (elastic#249265) [Agent Builder] Agent skills implementation (elastic#251209) [Lens] [ES|QL] Improve types for ES|QL conversion. (elastic#251042) Update the trace waterfall to make it easy to understand (elastic#250442) [ES|QL] [Lens] Adds query stats (elastic#251029) [Lens] Fix KQL character escaping when query is generated from Top values column (breakdown). (elastic#250925) fix(kbn-elastic-assistant): fix a11y issue with missing label on flyout (elastic#251656) Update dependency @elastic/monaco-esql to v3.1.16 (main) (elastic#251666) [Automatic Import V2] Add langsmith tracing (elastic#251592) [scout] fix duplicated test failure reports in Buildkite annotations (elastic#251455) chore(NA): remove us-central1-b from gcp zones on high load jobs (elastic#251748) skip flaky suite (elastic#250973) [Lens] Allow read only view for users with write permissions but having no write access to the dashboard (elastic#247746) [CI] Increase artifacts disk to 180gb (elastic#251774) [content-list] 1. Provider Foundation (elastic#251344) [AI Infra] Add missing ES|QL commands and functions documentation for inference tasks (elastic#249089) [docs-utils] 4️⃣ pre-req: Prepare for new validations (elastic#250810) [APM] Extend React flow service map test coverage (elastic#251624) [scout] discover tests with custom server configs (elastic#251297) ... # Conflicts: # src/platform/plugins/shared/dashboard/tsconfig.json # x-pack/platform/plugins/shared/agent_builder_platform/server/tools/create_visualization/create_visualization.ts
Relates to #245034
Summary
To know to what service each waterfall item relates to, these changes were made:
WaterfallLegendscomponent is now sticky)Other changes:
Video Comparisons
Before
before.mp4
After
after.mp4
Unit tests
yarn test:jest x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall_container.test.tsxyarn test:jest x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/index.test.tsxyarn test:jest x-pack/solutions/observability/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/waterfall_item.test.tsxyarn test:jest x-pack/solutions/observability/plugins/apm/public/hooks/use_element_height.test.tsxRunning tests e2e locally
Run server (first terminal):
node scripts/scout.js start-server --statefulRun apm tests (second terminal):
npx playwright test --project local --ui --config x-pack/solutions/observability/plugins/apm/test/scout/ui/parallel.playwright.config.tsChecklist