Skip to content

Commit

Permalink
[ES|QL] Performance journey for dashboards made with ES|QL (elastic#1…
Browse files Browse the repository at this point in the history
…93322)

## Summary

Closes elastic#182548

Creates an dashboard journey similar to the web logs one but the
majority of the visualizations are using ES|QL.

Note: There is one Lens viz not converted yet because it needs
inlinestats. We could also convert it when inlinestats go to GA.
  • Loading branch information
stratoula authored Sep 19, 2024
1 parent dfbd7de commit 44adb73
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 44adb73

Please sign in to comment.