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

network: fix misplaced p2p received TX metric #6144

Merged
merged 7 commits into from
Oct 28, 2024

Conversation

algorandskiy
Copy link
Contributor

@algorandskiy algorandskiy commented Sep 25, 2024

Summary

Moved metrics to RecvRPC to count them as early as possible similarly to wsnet.

Test Plan

Existing tests

Copy link

codecov bot commented Sep 25, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 56.28%. Comparing base (39f7485) to head (db3c714).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
network/p2p/pubsub.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6144   +/-   ##
=======================================
  Coverage   56.28%   56.28%           
=======================================
  Files         494      494           
  Lines       69958    69958           
=======================================
+ Hits        39375    39378    +3     
+ Misses      27912    27904    -8     
- Partials     2671     2676    +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@algorandskiy algorandskiy force-pushed the pavel/p2p-more-metrics branch 2 times, most recently from 8586d2e to 0bdaf73 Compare September 26, 2024 22:37
@algorandskiy algorandskiy changed the title WIP: network: add algod_peer_p2p_broadcast_dropped_total metric WIP: network: fix p2p received_{bytes, messages}_TX metrics Sep 26, 2024
@algorandskiy algorandskiy changed the title WIP: network: fix p2p received_{bytes, messages}_TX metrics network: fix misplaced p2p received TX metric Oct 4, 2024
@algorandskiy algorandskiy marked this pull request as ready for review October 4, 2024 18:55
@gmalouf gmalouf requested review from gmalouf and cce October 17, 2024 19:20
gmalouf
gmalouf previously approved these changes Oct 17, 2024
Copy link
Contributor

@gmalouf gmalouf left a comment

Choose a reason for hiding this comment

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

LGTM

network/metrics.go Outdated Show resolved Hide resolved
cce
cce previously approved these changes Oct 22, 2024
network/metrics.go Outdated Show resolved Hide resolved
@algorandskiy algorandskiy dismissed stale reviews from cce and gmalouf via 434890a October 22, 2024 18:08
@cce
Copy link
Contributor

cce commented Oct 28, 2024

Most of this was already merged in #6147

@cce cce merged commit eff5fb4 into algorand:master Oct 28, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants