Skip to content

Commit

Permalink
[8.x] [ES|QL] Performance journey for dashboards made with ES|QL (#19…
Browse files Browse the repository at this point in the history
…3322) (#193690)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[ES|QL] Performance journey for dashboards made with ES|QL
(#193322)](#193322)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Stratoula
Kalafateli","email":"efstratia.kalafateli@elastic.co"},"sourceCommit":{"committedDate":"2024-09-19T15:57:44Z","message":"[ES|QL]
Performance journey for dashboards made with ES|QL (#193322)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/182548\r\n\r\nCreates an
dashboard journey similar to the web logs one but the\r\nmajority of the
visualizations are using ES|QL.\r\n\r\nNote: There is one Lens viz not
converted yet because it needs\r\ninlinestats. We could also convert it
when inlinestats go to
GA.","sha":"44adb7353d001836b48279de28244931da4a9861","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","Feature:ES|QL","Team:ESQL"],"title":"[ES|QL]
Performance journey for dashboards made with
ES|QL","number":193322,"url":"https://github.com/elastic/kibana/pull/193322","mergeCommit":{"message":"[ES|QL]
Performance journey for dashboards made with ES|QL (#193322)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/182548\r\n\r\nCreates an
dashboard journey similar to the web logs one but the\r\nmajority of the
visualizations are using ES|QL.\r\n\r\nNote: There is one Lens viz not
converted yet because it needs\r\ninlinestats. We could also convert it
when inlinestats go to
GA.","sha":"44adb7353d001836b48279de28244931da4a9861"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193322","number":193322,"mergeCommit":{"message":"[ES|QL]
Performance journey for dashboards made with ES|QL (#193322)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/182548\r\n\r\nCreates an
dashboard journey similar to the web logs one but the\r\nmajority of the
visualizations are using ES|QL.\r\n\r\nNote: There is one Lens viz not
converted yet because it needs\r\ninlinestats. We could also convert it
when inlinestats go to
GA.","sha":"44adb7353d001836b48279de28244931da4a9861"}}]}] BACKPORT-->

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
  • Loading branch information
kibanamachine and stratoula authored Sep 23, 2024
1 parent 601c8a8 commit 6cc4fdc
Show file tree
Hide file tree
Showing 4 changed files with 356 additions and 0 deletions.
1 change: 1 addition & 0 deletions .buildkite/ftr_platform_stateful_configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ enabled:
- x-pack/performance/journeys_e2e/tsdb_logs_data_visualizer.ts
- x-pack/performance/journeys_e2e/promotion_tracking_dashboard.ts
- x-pack/performance/journeys_e2e/web_logs_dashboard.ts
- x-pack/performance/journeys_e2e/web_logs_dashboard_esql.ts
- x-pack/performance/journeys_e2e/data_stress_test_lens.ts
- x-pack/performance/journeys_e2e/ecommerce_dashboard_saved_search_only.ts
- x-pack/performance/journeys_e2e/ecommerce_dashboard_tsvb_gauge_only.ts
Expand Down
1 change: 1 addition & 0 deletions src/dev/performance/run_performance_cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const journeyTargetGroups: JourneyTargetGroups = {
discover: ['many_fields_discover', 'many_fields_discover_esql'],
maps: ['ecommerce_dashboard_map_only'],
ml: ['aiops_log_rate_analysis', 'many_fields_transform', 'tsdb_logs_data_visualizer'],
esql: ['many_fields_discover_esql', 'web_logs_dashboard_esql'],
};

const readFilesRecursively = (dir: string, callback: Function) => {
Expand Down
24 changes: 24 additions & 0 deletions x-pack/performance/journeys_e2e/web_logs_dashboard_esql.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/

import { Journey } from '@kbn/journeys';
import { subj } from '@kbn/test-subj-selector';

export const journey = new Journey({
esArchives: ['x-pack/performance/es_archives/sample_data_logs'],
kbnArchives: ['x-pack/performance/kbn_archives/logs_no_map_dashboard_esql'],
})

.step('Go to Dashboards Page', async ({ page, kbnUrl, kibanaPage }) => {
await page.goto(kbnUrl.get(`/app/dashboards`));
await kibanaPage.waitForListViewTable();
})

.step('Go to Web Logs Dashboard', async ({ page, kibanaPage }) => {
await page.click(subj('dashboardListingTitleLink-Logs-dashboard-with-ES|QL'));
await kibanaPage.waitForVisualizations({ count: 11 });
});
Loading

0 comments on commit 6cc4fdc

Please sign in to comment.