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 collection and output #413

Merged
merged 1 commit into from
Oct 17, 2022
Merged

Conversation

acogoluegnes
Copy link
Collaborator

Decouple metrics collection and calculation from output. Use a scheduled approach to display metrics instead of checking if it's to display the metrics on every call. This makes the metrics easier to reason about.

Decouple metrics collection and calculation from output.
Use a scheduled approach to display metrics instead of
checking if it's to display the metrics on every call.
This makes the metrics easier to reason about.
@acogoluegnes acogoluegnes added this to the 2.19.0 milestone Oct 17, 2022
@acogoluegnes acogoluegnes merged commit 93c04a5 into main Oct 17, 2022
@acogoluegnes acogoluegnes deleted the refactor-metrics branch October 17, 2022 12:25
pivotal-rabbitmq-ci pushed a commit that referenced this pull request Oct 17, 2022
Refactor metrics collection and output
acogoluegnes added a commit that referenced this pull request Oct 18, 2022
It used to be necessary in the previous metrics collection
mechanism because no activity meant no metrics recording and
calculation.

The new mechanism calculates periodically, so it can check activity
and reset rates accordingly.

References #413, #293
pivotal-rabbitmq-ci pushed a commit that referenced this pull request Oct 18, 2022
It used to be necessary in the previous metrics collection
mechanism because no activity meant no metrics recording and
calculation.

The new mechanism calculates periodically, so it can check activity
and reset rates accordingly.

References #413, #293
acogoluegnes added a commit that referenced this pull request Jan 2, 2023
github-actions bot pushed a commit that referenced this pull request Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant