Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: include read/write byte stats in scaletests JSON report#17777

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
cstyan merged 4 commits intomainfromcallum-report-bytes
Jun 13, 2025

Conversation

cstyan
Copy link
Contributor

@cstyancstyan commentedMay 12, 2025
edited
Loading

PR tofix#12157

WIP/Draft as I spend some time to confirm my understanding of the current code and the changes from@joobisb original PRhere, ATM this PR is just his commits as I want to check what CI jobs were failing.

@cstyancstyan requested a review frommafredriMay 13, 2025 16:51
@cstyancstyan changed the titleWIP: include bytes read/written in scaletests json reportfeat: include bytes read/written in scaletests json reportMay 13, 2025
@cstyancstyan marked this pull request as ready for reviewMay 13, 2025 16:52
@cstyancstyan changed the titlefeat: include bytes read/written in scaletests json reportfeat: include bytes read/written stats in scaletests json reportMay 13, 2025
@cstyan
Copy link
ContributorAuthor

@mafredri requested a review as you opened the original issue, please lmk if I've misunderstoodscaletest and any parallelism in play there, which is the reason for using atomic updates to the new bytes stat. For the existing Prometheus metric, the client library handles atomic updates to the value for us.

@github-actionsgithub-actionsbot added the staleThis issue is like stale bread. labelMay 21, 2025
@cstyancstyan reopened thisMay 26, 2025
@github-actionsgithub-actionsbot removed the staleThis issue is like stale bread. labelMay 27, 2025
@cstyancstyanforce-pushed thecallum-report-bytes branch from236ce51 to8b3fc67CompareJune 2, 2025 20:05
@github-actionsgithub-actionsbot added the staleThis issue is like stale bread. labelJun 10, 2025
@cstyancstyan reopened thisJun 13, 2025
}

// Run implements Runnable.
func (fns testFns) Run(ctx context.Context, id string, logs io.Writer) error {
return fns.RunFn(ctx, id, logs)
}

// GetBytesTransferred implements Collectable.
func (fns testFns) GetBytesTransferred() (bytesRead int64, bytesWritten int64) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm curious what's going on with this pattern, but your addition seems totally in line with what's already here :)

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

yeah I don't particularly like it, feels odd/reads strangely, but it's already in use for the cleanable interface as well so 🤷

Signed-off-by: Callum Styan <callumstyan@gmail.com>
@cstyancstyan changed the titlefeat: include bytes read/written stats in scaletests json reportfeat: include read/write byte stats in scaletests JSON reportJun 13, 2025
@cstyancstyan merged commit068f9a0 intomainJun 13, 2025
36 checks passed
@cstyancstyan deleted the callum-report-bytes branchJune 13, 2025 21:33
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJun 13, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@bcpeinhardtbcpeinhardtbcpeinhardt approved these changes

@mafredrimafredriAwaiting requested review from mafredri

Assignees

@cstyancstyan

Labels
staleThis issue is like stale bread.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Report bytes read/written in JSON report forcoder exp scaletest workspace-traffic commands
3 participants
@cstyan@bcpeinhardt@joobisb

[8]ページ先頭

©2009-2025 Movatter.jp