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

agreement: add messagesHandled/Dropped TagCounters #3712

Merged
merged 2 commits into from
Mar 4, 2022

Conversation

cce
Copy link
Contributor

@cce cce commented Mar 3, 2022

Summary

Similar to #1938 this adds the TagCounter to report message counters by type. It also removes labels from the existing Counters, which should improve their performance.

Test Plan

Existing tests should pass.

Copy link
Contributor

@tsachiherman tsachiherman left a comment

Choose a reason for hiding this comment

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

I'm not opposing to this change, but I think that the total here is pointless. The information can be trivially deduced from the others ( which are also guaranteed to be present ).

@cce
Copy link
Contributor Author

cce commented Mar 3, 2022

I'm only keeping the total for historical comparison, for anyone plotting the existing numbers. This also followed the way @brianolson introduced the tag breakdowns in #1938 while keeping the totals.

@cce cce added the Enhancement label Mar 3, 2022
@tsachiherman tsachiherman merged commit ce609d6 into algorand:master Mar 4, 2022
@cce cce deleted the agreement-network-metric-tags branch March 4, 2022 03:26
@egieseke egieseke mentioned this pull request Mar 6, 2022
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.

2 participants