Skip to content

[x-pack/performance] use es/kbn archives with sample data, load dashboard w/out map#144100

Merged
dmlemeshko merged 10 commits intoelastic:mainfrom
dmlemeshko:performance-journeys/remove-map-viz-from-dashboards
Oct 28, 2022
Merged

[x-pack/performance] use es/kbn archives with sample data, load dashboard w/out map#144100
dmlemeshko merged 10 commits intoelastic:mainfrom
dmlemeshko:performance-journeys/remove-map-viz-from-dashboards

Conversation

@dmlemeshko
Copy link
Contributor

Summary

We did few experiments with @lizozom and we can see dashboard loading is way faster and more consistent when it does not contain map visualisation.
We see WebGL errors while loading dashboard with maps and we decided to test maps separately. It also feels right to cut number of steps to simply load the dashboard and wait for its render completion.

PR is still using subset of sample data (representing 7-8 days) and saved objects of dashboards w/out maps.

@dmlemeshko dmlemeshko added the wg:performance Work tracked by the performance workgroup label Oct 27, 2022
@dmlemeshko dmlemeshko marked this pull request as ready for review October 27, 2022 12:55
@dmlemeshko dmlemeshko requested a review from lizozom October 27, 2022 12:55
@dmlemeshko dmlemeshko added the Team:Operations Kibana-Operations Team label Oct 27, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@dmlemeshko dmlemeshko requested a review from a team October 27, 2022 12:55
Copy link
Contributor

@lizozom lizozom left a comment

Choose a reason for hiding this comment

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

Looks good!

I would add the

  • standalone map test
  • waitForChrome
    What do you say?

kbnArchives: ['x-pack/performance/kbn_archives/ecommerce_no_map_dashboard'],
}).step('Go to Ecommerce Dashboard', async ({ page, kbnUrl }) => {
await page.goto(kbnUrl.get(`/app/dashboards#/view/722b74f0-b882-11e8-a6d9-e546fe2bba5f`));
await waitForVisualizations(page, 12);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you also navigate to the dashboard via the home page?
I worry if going to the dashboard directly puts unnecessary load on the server (loading static assets)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done a6d7cb9a29fd776b99d563931b8a817642949969

@dmlemeshko dmlemeshko requested a review from a team as a code owner October 27, 2022 16:15
@dmlemeshko
Copy link
Contributor Author

I would add
the standalone map test
waitForChrome
What do you say?

Cherry-picked from your branch 👍

@dmlemeshko dmlemeshko requested a review from lizozom October 27, 2022 16:16
@dmlemeshko dmlemeshko added the release_note:skip Skip the PR/issue when compiling release notes label Oct 27, 2022
Copy link
Contributor

Choose a reason for hiding this comment

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

You don't really need to wait for chrome if you're navigating to the dashboard.
It's only useful if you're using goto directly like you did before

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will remove it then.

Copy link
Contributor

@lizozom lizozom left a comment

Choose a reason for hiding this comment

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

Looks good
I added one comment

@dmlemeshko dmlemeshko requested review from a team October 27, 2022 20:05
@dmlemeshko dmlemeshko requested review from a team as code owners October 27, 2022 20:05
@botelastic botelastic bot added the Team:APM - DEPRECATED Use Team:obs-ux-infra_services. label Oct 27, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:APM)

@dmlemeshko dmlemeshko force-pushed the performance-journeys/remove-map-viz-from-dashboards branch from 0c8caad to c7ac3d2 Compare October 27, 2022 20:11
@dmlemeshko dmlemeshko removed request for a team October 27, 2022 20:13
@dmlemeshko dmlemeshko force-pushed the performance-journeys/remove-map-viz-from-dashboards branch from b8377a2 to 0423f3c Compare October 28, 2022 11:51
@dmlemeshko dmlemeshko removed the Team:APM - DEPRECATED Use Team:obs-ux-infra_services. label Oct 28, 2022
@kibana-ci
Copy link

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

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

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 release_note:skip Skip the PR/issue when compiling release notes Team:Operations Kibana-Operations Team v8.6.0 wg:performance Work tracked by the performance workgroup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants