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

[APM] Add APM performance journeys #153844

Closed
dgieselaar opened this issue Mar 28, 2023 · 7 comments
Closed

[APM] Add APM performance journeys #153844

dgieselaar opened this issue Mar 28, 2023 · 7 comments
Assignees
Labels
8.10 candidate apm:performance APM UI - Performance Work apm:test-plan-done Pull request that was successfully tested during the test plan Team:APM All issues that need APM UI Team support

Comments

@dgieselaar
Copy link
Member

The Kibana team runs a set of user journeys to find performance regressions. We should add our own performance journeys so the Kibana team as a whole has a more realistic data set to benchmark against and it will allow us to monitor performance regressions specific to APM use cases.

@dgieselaar dgieselaar added the Team:APM All issues that need APM UI Team support label Mar 28, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:APM)

@gbamparop gbamparop added apm:performance APM UI - Performance Work 8.9 candidate labels Mar 30, 2023
@achyutjhunjhunwala
Copy link
Contributor

I spent some time analysing it. Currently the kibana team uses archives to run these tests. I was looking at option to use synthtrace. The beforeSteps provides an opportunity to run synthtrace but we might have to do some work there to make Synthtrace work with it.
@dgieselaar Do you think adding synthtrace is a good idea? On one side it gives us the flexibility to generate as we like data but on the other side, the number of journeys we will be adding would be limited and may be to start with we can use archives ?

@sorenlouv
Copy link
Member

It might be too slow to generate big data sets at runtime with synthtrace so in this specific case archives could be a better fit

@achyutjhunjhunwala
Copy link
Contributor

It might be too slow to generate big data sets at runtime with synthtrace so in this specific case archives could be a better fit

I had the same feeling, also the journeys mostly would be fixed 👍🏼

@achyutjhunjhunwala achyutjhunjhunwala self-assigned this Jun 29, 2023
achyutjhunjhunwala added a commit that referenced this issue Jul 31, 2023
## Summary

Closes - #153844

As part of this PR, as its just the stepping stone, we will only cover a
basic navigation flow and analyze the result obtained from Steps
Dashboard and data collected by the APM Agents for this journey

## Scope

- Generating a data set using Synthtrace instead of Archives
- Capturing the flow from Service Inventory to Trace Waterfall loading
on Transaction page
- Capturing Event loop utilisation metrics enabled for APM Journey

## How to run it

```
node scripts/run_performance.js --journey-path x-pack/performance/journeys/apm_service_inventory.ts --skip-warmup
```

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
ThomThomson pushed a commit to ThomThomson/kibana that referenced this issue Aug 1, 2023
## Summary

Closes - elastic#153844

As part of this PR, as its just the stepping stone, we will only cover a
basic navigation flow and analyze the result obtained from Steps
Dashboard and data collected by the APM Agents for this journey

## Scope

- Generating a data set using Synthtrace instead of Archives
- Capturing the flow from Service Inventory to Trace Waterfall loading
on Transaction page
- Capturing Event loop utilisation metrics enabled for APM Journey

## How to run it

```
node scripts/run_performance.js --journey-path x-pack/performance/journeys/apm_service_inventory.ts --skip-warmup
```

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@gbamparop
Copy link
Contributor

Can we close this since #162721 was merged? I think this was the scope for 8.10, we could have another meta issue if we'd like to introduce more journeys.

@gbamparop
Copy link
Contributor

As discussed today, this is closed by #162721.

@achyutjhunjhunwala achyutjhunjhunwala added the apm:test-plan-done Pull request that was successfully tested during the test plan label Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.10 candidate apm:performance APM UI - Performance Work apm:test-plan-done Pull request that was successfully tested during the test plan Team:APM All issues that need APM UI Team support
Projects
None yet
Development

No branches or pull requests

5 participants