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

[8.10] [Lens] add performance journey to track rendering time for XY visualization and suggestions panel (#163412) #164153

Merged
merged 1 commit into from
Aug 17, 2023

Commits on Aug 17, 2023

  1. [Lens] add performance journey to track rendering time for XY visuali…

    …zation and suggestions panel (elastic#163412)
    
    ## Summary
    
    Related to elastic#163089
    
    Adding the first performance journey for the Lens Editor. It simulated
    loading existing Lens visualisation with data view having 10k fields.
    
    We collect the following metrics:
    - `fetchFieldsExistenceInfo` reports time it takes to fetch fields in
    Data Panel
    - `lensVisualizationRenderTime` reports both time it takes to fetch the
    data (`time_to_data`) and render the main visualization
    (`time_to_render`)
    - `lensSuggestionsRenderTime` reports time it takes to render
    suggestions panel
    
    Metrics consistency
    
    <img width="568" alt="image"
    src="https://github.com/elastic/kibana/assets/10977896/3384bb8e-6152-4bae-93dc-4f7f4167ed07">
    
    Run locally with
    ```
    node scripts/functional_tests --config x-pack/performance/journeys/many_fields_lens_editor.ts
    ```
    
    Metrics will be available here
    
    https://telemetry-v2-staging.elastic.dev/s/kibana-performance/app/dashboards#/view/dd0473ac-826f-5621-9a10-25319700326e?_g=h@61c5ac8
    
    ---------
    
    Co-authored-by: Drew Tate <[email protected]>
    (cherry picked from commit 15b118c)
    dmlemeshko committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    75e4dc5 View commit details
    Browse the repository at this point in the history