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 custom metrics locust #279

Merged
merged 13 commits into from
Mar 12, 2024
Merged

Add custom metrics locust #279

merged 13 commits into from
Mar 12, 2024

Conversation

kaushikmitr
Copy link
Collaborator

added custom metric support for Locust to track metrics like number of tokens sent and received. The framework can be easily extended.
If the variable enable_custom_metric is set to true then custom metrics collected by the locust master is available at the following endpoints:

  • While the test is running
http://$LOCUST_SERVICE_IP:8089/custom_metrics/custom_metrics.csv
  • After a test ends:
http://$LOCUST_SERVICE_IP:8089/custom_metrics/custom_metrics_final.csv

Copy link
Collaborator

@annapendleton annapendleton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @kaushikmitr! Great work!

@annapendleton
Copy link
Collaborator

/gcbrun

@kaushikmitr kaushikmitr merged commit 1ae0f31 into main Mar 12, 2024
7 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.

4 participants