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

feat: adding Sent and Received bytes per message metrics for peers #618

Merged
merged 34 commits into from
Aug 1, 2023
Merged

feat: adding Sent and Received bytes per message metrics for peers #618

merged 34 commits into from
Aug 1, 2023

Conversation

ZigBalthazar
Copy link
Contributor

Description

Regarding issue #605, I have made some updates. I have added "SentBytes" and "ReceivedBytes" to "peer" and made changes to the "IncreaseReceivedBytesCounter" and "IncreaseSentBytesCounter" functions. Additionally, I have modified the "sendTo" and "broadcast" functions and updated the Protos.

Related issue(s)

@ZigBalthazar
Copy link
Contributor Author

I made a mistake while managing my local git branches, and this resulted in 31 commits. 🥲

@ZigBalthazar ZigBalthazar reopened this Jul 31, 2023
@codecov
Copy link

codecov bot commented Jul 31, 2023

Codecov Report

Merging #618 (de74d07) into main (ce84bd8) will decrease coverage by 0.01%.
The diff coverage is 89.47%.

@@            Coverage Diff             @@
##             main     #618      +/-   ##
==========================================
- Coverage   83.56%   83.55%   -0.01%     
==========================================
  Files         154      154              
  Lines        7264     7274      +10     
==========================================
+ Hits         6070     6078       +8     
- Misses        912      914       +2     
  Partials      282      282              

sync/sync.go Outdated Show resolved Hide resolved
@ZigBalthazar
Copy link
Contributor Author

ZigBalthazar commented Aug 1, 2023

Hi @b00f

Could you kindly review it?

@kehiy kehiy requested a review from b00f August 1, 2023 11:03
@b00f b00f changed the title feat: peer Sent and Received Bytes metrics feat: adding Sent and Received bytes per message for peers Aug 1, 2023
@b00f b00f changed the title feat: adding Sent and Received bytes per message for peers feat: adding Sent and Received bytes per message metrics for peers Aug 1, 2023
@b00f b00f merged commit c7e18f8 into pactus-project:main Aug 1, 2023
14 checks passed
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.

Add metrics for Peers per message type
2 participants