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 reporting to goose shoot and improve error handling #42

Merged
merged 12 commits into from
Mar 18, 2024

Conversation

Angel-Petrov
Copy link
Contributor

@Angel-Petrov Angel-Petrov commented Feb 23, 2024

This PR now makes shoot write to a reporting file, with information like average TPS as well as how long it took for requests to be sent and how many requests failed. This PR also improves error handling so that failed requests are properly recorded instead of panicing the goose user. The PR has been updated with added instructions and the structure of the output.

An example of the report.json output is attached here.

src/actions/goose.rs Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
src/actions/mod.rs Outdated Show resolved Hide resolved
src/metrics.rs Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@EvolveArt EvolveArt left a comment

Choose a reason for hiding this comment

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

left few comments

src/actions/goose.rs Outdated Show resolved Hide resolved
src/actions/goose.rs Outdated Show resolved Hide resolved
src/actions/goose.rs Outdated Show resolved Hide resolved
src/actions/goose.rs Outdated Show resolved Hide resolved
src/actions/goose.rs Outdated Show resolved Hide resolved
src/actions/mod.rs Outdated Show resolved Hide resolved
src/metrics.rs Outdated Show resolved Hide resolved
src/metrics.rs Outdated Show resolved Hide resolved
src/metrics.rs Show resolved Hide resolved
src/metrics.rs Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
src/metrics.rs Show resolved Hide resolved
src/metrics.rs Outdated Show resolved Hide resolved
src/utils.rs Outdated Show resolved Hide resolved
@tdelabro tdelabro merged commit b49c1a5 into keep-starknet-strange:main Mar 18, 2024
3 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants