kibana/dev_docs/tutorials
Kibana Machine b014e8155a
[8.8] [performance] enable journey run against cloud deployments (#156720) (#157123)
# Backport

This will backport the following commits from `main` to `8.8`:
- [[performance] enable journey run against cloud deployments
(#156720)](https://github.com/elastic/kibana/pull/156720)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2023-05-09T03:35:43Z","message":"[performance]
enable journey run against cloud deployments (#156720)\n\n##
Summary\r\n\r\nThis PR adds changes and instructions how to run existing
performance\r\njourneys against ESS instances.\r\n\r\nAs previously
discussed with @pheyos , there are few manual steps to be\r\ndone before
running the actual journey:\r\n1. Create cloud deployment and
re-configure it the way APM traces are\r\nreported the monitoring
cluster\r\n2. Check out the branch matching deployment version (main
->\r\n8.9.0-SNAPSHOT), create user with `superuser` role (we don't
test\r\nfunctional features, only performance metrics)\r\n\r\nThen you
can run the journey like a regular cloud test suite:\r\n```\r\nexport
TEST_KIBANA_URL=https://<username>:<password>@<kibana_url>\r\nexport
TEST_ES_URL=https://<username>:<password>@j<elasticsearch_url>:<port>\r\nexport
TEST_CLOUD=1\r\nnode scripts/functional_test_runner.js --config
x-pack/performance/journeys/$YOUR_JOURNEY_NAME.ts\r\n```\r\n\r\n<img
width=\"1357\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/10977896/236499836-2738fecb-a5a9-4e58-a10b-915b962af037.png\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Jon
<jon@budzenski.me>","sha":"e55a92eab0ae28799b51238fb76efa6026673e6e","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","wg:performance","v8.7.2","v8.9.0","v8.8.1"],"number":156720,"url":"https://github.com/elastic/kibana/pull/156720","mergeCommit":{"message":"[performance]
enable journey run against cloud deployments (#156720)\n\n##
Summary\r\n\r\nThis PR adds changes and instructions how to run existing
performance\r\njourneys against ESS instances.\r\n\r\nAs previously
discussed with @pheyos , there are few manual steps to be\r\ndone before
running the actual journey:\r\n1. Create cloud deployment and
re-configure it the way APM traces are\r\nreported the monitoring
cluster\r\n2. Check out the branch matching deployment version (main
->\r\n8.9.0-SNAPSHOT), create user with `superuser` role (we don't
test\r\nfunctional features, only performance metrics)\r\n\r\nThen you
can run the journey like a regular cloud test suite:\r\n```\r\nexport
TEST_KIBANA_URL=https://<username>:<password>@<kibana_url>\r\nexport
TEST_ES_URL=https://<username>:<password>@j<elasticsearch_url>:<port>\r\nexport
TEST_CLOUD=1\r\nnode scripts/functional_test_runner.js --config
x-pack/performance/journeys/$YOUR_JOURNEY_NAME.ts\r\n```\r\n\r\n<img
width=\"1357\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/10977896/236499836-2738fecb-a5a9-4e58-a10b-915b962af037.png\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Jon
<jon@budzenski.me>","sha":"e55a92eab0ae28799b51238fb76efa6026673e6e"}},"sourceBranch":"main","suggestedTargetBranches":["8.7","8.8"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156720","number":156720,"mergeCommit":{"message":"[performance]
enable journey run against cloud deployments (#156720)\n\n##
Summary\r\n\r\nThis PR adds changes and instructions how to run existing
performance\r\njourneys against ESS instances.\r\n\r\nAs previously
discussed with @pheyos , there are few manual steps to be\r\ndone before
running the actual journey:\r\n1. Create cloud deployment and
re-configure it the way APM traces are\r\nreported the monitoring
cluster\r\n2. Check out the branch matching deployment version (main
->\r\n8.9.0-SNAPSHOT), create user with `superuser` role (we don't
test\r\nfunctional features, only performance metrics)\r\n\r\nThen you
can run the journey like a regular cloud test suite:\r\n```\r\nexport
TEST_KIBANA_URL=https://<username>:<password>@<kibana_url>\r\nexport
TEST_ES_URL=https://<username>:<password>@j<elasticsearch_url>:<port>\r\nexport
TEST_CLOUD=1\r\nnode scripts/functional_test_runner.js --config
x-pack/performance/journeys/$YOUR_JOURNEY_NAME.ts\r\n```\r\n\r\n<img
width=\"1357\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/10977896/236499836-2738fecb-a5a9-4e58-a10b-915b962af037.png\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Jon
<jon@budzenski.me>","sha":"e55a92eab0ae28799b51238fb76efa6026673e6e"}},{"branch":"8.8","label":"v8.8.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2023-05-08 21:46:16 -07:00
..
data [api-docs] follow the correct schema for frontmatter (#138348) 2022-08-10 17:17:50 -05:00
performance [8.8] [performance] enable journey run against cloud deployments (#156720) (#157123) 2023-05-08 21:46:16 -07:00
advanced_settings.mdx [api-docs] follow the correct schema for frontmatter (#138348) 2022-08-10 17:17:50 -05:00
apm_ui.png Debugging with apm - fixes and tutorial (#127892) 2022-03-22 14:56:37 +02:00
building_a_kibana_distributable.mdx [api-docs] follow the correct schema for frontmatter (#138348) 2022-08-10 17:17:50 -05:00
ci.mdx [cft] Add support for creating a new deployment (#138243) 2022-08-11 14:56:44 -05:00
data_views.mdx [api-docs] follow the correct schema for frontmatter (#138348) 2022-08-10 17:17:50 -05:00
debugging.mdx [api-docs] follow the correct schema for frontmatter (#138348) 2022-08-10 17:17:50 -05:00
development_windows.mdx [api-docs] follow the correct schema for frontmatter (#138348) 2022-08-10 17:17:50 -05:00
endpoints.mdx [api-docs] follow the correct schema for frontmatter (#138348) 2022-08-10 17:17:50 -05:00
expressions.mdx [api-docs] follow the correct schema for frontmatter (#138348) 2022-08-10 17:17:50 -05:00
kibana_page_template.mdx Upgrade EUI to v63.0.6 - updates to new EuiPageTemplate and deprecates old page components (#139524) 2022-09-07 15:35:23 -05:00
saved_objects.mdx [Saved Objects] Update the migrationVersion property to hold a plain string value (#150075) 2023-03-24 13:45:30 +01:00
screenshotting.mdx [api-docs] follow the correct schema for frontmatter (#138348) 2022-08-10 17:17:50 -05:00
submit_a_pull_request.mdx [api-docs] follow the correct schema for frontmatter (#138348) 2022-08-10 17:17:50 -05:00
testing_plugins.mdx Saved objects: improve typesafety (#140099) 2022-09-13 09:56:29 +02:00
versioning_http_apis.mdx [Dev docs] Added final section to HTTP versioning tutorial (#154901) 2023-04-18 15:39:29 +02:00
versioning_interfaces.mdx [Versioned APIs] Versioned interfaces dev docs guide (#150705) 2023-03-01 16:45:43 +01:00