Skip to content

Refactor metrics to use SplitMetricHelper - #5546

Merged
brun0-matheus merged 1 commit into
masterfrom
bruno.refactor-split-metric-helper
Oct 22, 2026
Merged

brun0-matheus merged 1 commit into
masterfrom
bruno.refactor-split-metric-helper

Conversation

@brun0-matheus

@brun0-matheus brun0-matheus commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Overview

PR #5530 introduced a class named SplitMetricHelper, which simplifies the emission of metrics that are grouped by FUZZER and JOB.

This PR refactors the code to use SplitMetricHelper wherever possible, reducing duplicated code. No behavior change is expected.

Changes

None. Only refactoring.

Tests

No additional tests.

Tested in dev environment. Evidence (they show that FUZZER_TOTAL_FUZZ_TIME and JOB_TOTAL_FUZZ_TIME are being measured correctly):

@brun0-matheus brun0-matheus self-assigned this Oct 20, 2026
@brun0-matheus
brun0-matheus requested a review from a team as a code owner October 20, 2026 17:04
@brun0-matheus
brun0-matheus requested a review from decoNR October 20, 2026 17:05

@ViniciustCosta ViniciustCosta left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good overall, please add evidence from this on development env

@brun0-matheus

Copy link
Copy Markdown
Contributor Author

Looks good overall, please add evidence from this on development env

Done, added in the PR description.

@ViniciustCosta

Copy link
Copy Markdown
Collaborator

Looks good overall, please add evidence from this on development env

Done, added in the PR description.

Just to confirm, are those the metrics from before and after the change?

@brun0-matheus

Copy link
Copy Markdown
Contributor Author

Looks good overall, please add evidence from this on development env

Done, added in the PR description.

Just to confirm, are those the metrics from before and after the change?

No. I updated the PR description to explain what the screenshots are.

@brun0-matheus
brun0-matheus merged commit e743393 into master Oct 22, 2026
15 checks passed
@brun0-matheus
brun0-matheus deleted the bruno.refactor-split-metric-helper branch October 22, 2026 15:26
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