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

Chart Average Response Time in Modern UI #2509

Merged

Conversation

andrewbaldwin44
Copy link
Collaborator

@andrewbaldwin44 andrewbaldwin44 commented Dec 7, 2023

Proposal

  • Change the logic of how PERCENTILES_TO_CHART is being passed to the modern UI. We will now pass an array of all the percentiles we wish to chart. This will allow users to continue extending this variable as they wish, and it will additionally allow for users to see as many different percentiles in the chart as they would like
  • Add totalAvgResponseTime to response from /stats/requests and add it to the chart in the modern UI
  • Added a new variable MODERN_UI_PERCENTILES_TO_CHART to the stats module. This variable can still optionally be overriden from a locust file
  • None of these changes affect the legacy UI

Screenshots

image

@andrewbaldwin44 andrewbaldwin44 force-pushed the feature/swarm-chart-percentiles branch 2 times, most recently from 3e89904 to 5062e7c Compare December 8, 2023 05:01
@cyberw
Copy link
Collaborator

cyberw commented Dec 8, 2023

nice! is it possible to change PERCENTILES_TO_CHART default to only 0.95, by checking if modern ui is set? (because we dont need avg AND 50th percentile)

@andrewbaldwin44 andrewbaldwin44 force-pushed the feature/swarm-chart-percentiles branch from 5062e7c to c9a4b85 Compare December 8, 2023 15:26
@cyberw cyberw merged commit 1d55093 into locustio:master Dec 8, 2023
15 checks passed
@cyberw
Copy link
Collaborator

cyberw commented Dec 8, 2023

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants