Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update kbn-performance-testing-dataset-extractor to read scalability setup from FTR config #132125

Closed
dmlemeshko opened this issue May 12, 2022 · 1 comment · Fixed by #132676
Closed
Assignees
Labels
performance Team:QA Team label for QA Team wg:performance Work tracked by the performance workgroup

Comments

@dmlemeshko
Copy link
Member

dmlemeshko commented May 12, 2022

With #132047 FTR config file can contain scalability configuration, that is required to generate scalability simulation for the single user performance journey.
During Performance WG sync @spalger suggested to pass FTR config file path to kbn-performance-testing-dataset-extractor and read scalability setup directly from it:

node scripts/extract_performance_testing_dataset 
    node scripts/extract_performance_testing_dataset \
        --config "<path to FTR config>"
        --buildId "<_source.labels.testBuildId>" \
        --es-url "<ES baseURL>" \
        --es-username "<ES username>" \
        --es-password "<ES password>"

FTR config should contain both scalabilitySetup section and journeyName in 'kbnTestServer.env['ELASTIC_APM_GLOBAL_LABELS']

output file should be updated with scalability metadata:

{
   "journeyName":"ecommerce_dashboard",
   "kibanaVersion":"8.2.0-SNAPSHOT",
   "scalabilitySetup":{
      "warmup":{
         "stages":[
            {
               "action":"constantConcurrentUsers",
               "maxUsersCount":20,
               "duration":"90s"
            }
         ]
      },
      "test":{
         "stages":[
            {
               "action":"rampConcurrentUsers",
               "minUsersCount":20,
               "maxUsersCount":100,
               "duration":"2m"
            },
            {
               "action":"constantConcurrentUsers",
               "maxUsersCount":100,
               "duration":"5m"
            }
         ]
      },
      "maxDuration":"10m"
   },
   "traceItems":[
      ...
   ]
}
@dmlemeshko dmlemeshko added performance wg:performance Work tracked by the performance workgroup labels May 12, 2022
@botelastic botelastic bot added the needs-team Issues missing a team label label May 12, 2022
@dmlemeshko dmlemeshko changed the title Ingest FTR configuration of single user performance journey with APM Pass FTR config file to kbn-performance-testing-dataset-extractor May 12, 2022
@dmlemeshko dmlemeshko changed the title Pass FTR config file to kbn-performance-testing-dataset-extractor Update kbn-performance-testing-dataset-extractor to read scalability setup from FTR config May 12, 2022
@dmlemeshko dmlemeshko added the Team:QA Team label for QA Team label May 12, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-qa (Team:QA)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Team:QA Team label for QA Team wg:performance Work tracked by the performance workgroup
Projects
None yet
2 participants