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

Refactor metrics processing #169

Merged
merged 1 commit into from
May 27, 2024
Merged

Refactor metrics processing #169

merged 1 commit into from
May 27, 2024

Conversation

mikelorant
Copy link
Contributor

Setting metrics was tightly coupled with the gathering of the data. This made it difficult to change the logic without a significant amount of code changes.

By splitting the setting of the metrics into its own function, we can change the high level logic without having to move hundreds of lines around.

Setting metrics was tightly coupled with the gathering of the data.
This made it difficult to change the logic without a significant amount
of code changes.

By splitting the setting of the metrics into its own function, we can
change the high level logic without having to move hundreds of lines
around.

Co-authored-by: Lukas Eklund <leklund@gmail.com>
Signed-off-by: Michael Lorant <michael.lorant@nine.com.au>
@mikelorant
Copy link
Contributor Author

@leklund Splitting out the Process refactor as its own pull request as this doesn't need to part of the aggregated datacenter changes.

@leklund leklund merged commit 1158c47 into fastly:main May 27, 2024
6 checks passed
@mikelorant mikelorant deleted the refactor/process branch May 27, 2024 07:59
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