kibana/dev_docs/tutorials
Dzmitry Lemechko f5975d28fa
[performance] support triggering subset of journeys against KIbana PR in CI (#193175)
## Summary

It’s common request for Dev teams to run specific journeys on a PR to
compare performance metrics against the `main` branch. These requests
usually focus on a particular area, such as the Dashboard or Discover
app.

To streamline the process, this PR groups relevant journeys into
categories that can be triggered through an environment variable. For
example, setting `JOURNEYS_GROUP=dashboard` will execute only the three
dashboard-specific journeys, which are (usually) sufficient for
evaluating the performance impact of code changes within the Dashboard
app.

Current Process for Triggering Performance Builds:
- Create a new kibana-single-user-performance
[build](https://buildkite.com/elastic/kibana-single-user-performance#new)
- Provide the following arguments:

Branch: `refs/pull/<PR_number>/head`
Under Options, set the environment variable:
`JOURNEYS_GROUP=<group_name>`

Currently supported journey groups:
- kibanaStartAndLoad
- crud
- dashboard
- discover
- maps
- ml

[Build example

](https://buildkite.com/elastic/kibana-single-user-performance/builds/14427)
Each group focuses on a specific set of journeys tied to its respective
area in Kibana, allowing for more targeted performance testing. Since
running group takes ~5-10 min on bare metal worker, it should not delay
the regular (every 3h) runs against `main` branch


test locally with `node scripts/run_performance.js --group <group_name>`
2024-09-18 14:53:02 +02:00
..
data
performance [performance] support triggering subset of journeys against KIbana PR in CI (#193175) 2024-09-18 14:53:02 +02:00
advanced_settings.mdx
apm_ui.png
building_a_kibana_distributable.mdx
ci.mdx [build] Add Docker images with FIPS (#175946) 2024-02-07 12:09:52 -08:00
configuring_cross_cluster_search.mdx [dev docs] How to set up cross cluster search locally (#182025) 2024-04-30 12:46:21 -05:00
data_views.mdx
debugging.mdx [APM Config] Allow API Key environment var (#163153) 2023-08-21 14:39:56 -07:00
development_windows.mdx
endpoints.mdx
expressions.mdx
generating_oas_for_http_apis.mdx Update generating_oas_for_http_apis.mdx (#191037) 2024-08-23 17:21:28 +00:00
kibana_page_template.mdx
saved_objects.mdx [Docs] SO migration on serverless tutorial notes (#179261) 2024-03-27 00:37:37 +01:00
screenshotting.mdx
submit_a_pull_request.mdx [ci] Remove duplicate backport action (#190643) 2024-08-20 08:23:25 -05:00
testing_plugins.mdx Updates internal dev docs for Saved Objects (#178058) 2024-03-07 08:16:28 -07:00
versioning_http_apis.mdx [Docs] Added OAS dev tutorial (#187573) 2024-07-05 08:47:14 +00:00
versioning_interfaces.mdx [Versioned APIs] Versioned interfaces dev docs guide (#150705) 2023-03-01 16:45:43 +01:00