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

Add date and zoom to charts in web UI #2731

Merged
merged 5 commits into from
May 26, 2024

Conversation

andrewbaldwin44
Copy link
Collaborator

Proposal

  • Stats history will now record a full UTC timestamp when recording history
  • The frontend will keep a list of UTC timestamps for the charts to use
  • The x-axis will format the timestamp in hours (same as before)
  • The tooltip will format the timestamp as a locale string (with the date and hours, same as the HTML report)
  • Add zoom functionality to the charts, which is a feature available in echarts
    Recording 2024-05-25 at 19 03 44

@cyberw
Copy link
Collaborator

cyberw commented May 26, 2024

Awesome stuff!

@cyberw
Copy link
Collaborator

cyberw commented May 26, 2024

Can you maybe round the response times to .01ms precision?

@andrewbaldwin44
Copy link
Collaborator Author

andrewbaldwin44 commented May 26, 2024

On the frontend we only record the chart data every 2 seconds and on the backend we record the history every 5 seconds. I'm not sure it would be useful to display milliseconds?

@cyberw cyberw merged commit 50cab7e into locustio:master May 26, 2024
14 checks passed
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