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(telemetry)_: track total bandwidth #5973

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

adklempner
Copy link
Contributor

Include total bandwidth in addition to bandwidth per protocol when pushing telemetry.

If telemetry is enabled, the node periodically sends the bandwidth as tracked by go-libp2p to the telemetry service. Currently, it sends the bandwidth as determined by which protocol was used. This adds an additional metric which tracks the total bandwidth as measured by libp2p.

Important changes:

Closes status-im/telemetry#62

@status-im-auto
Copy link
Member

status-im-auto commented Oct 22, 2024

Jenkins Builds

Click to see older builds (13)
Commit #️⃣ Finished (UTC) Duration Platform Result
✖️ 36bd9c5 #1 2024-10-22 00:21:22 ~3 min tests 📄log
✔️ 36bd9c5 #1 2024-10-22 00:22:23 ~4 min ios 📦zip
✔️ 36bd9c5 #1 2024-10-22 00:23:05 ~5 min linux 📦zip
✔️ 36bd9c5 #1 2024-10-22 00:24:07 ~6 min tests-rpc 📄log
✔️ 36bd9c5 #1 2024-10-22 00:26:52 ~9 min android 📦aar
✖️ 90e7224 #2 2024-11-22 18:15:34 ~4 min tests 📄log
✔️ 90e7224 #1 2024-11-22 18:16:11 ~4 min macos 📦zip
✔️ 90e7224 #2 2024-11-22 18:16:22 ~4 min ios 📦zip
✖️ 90e7224 #2 2024-11-22 18:16:30 ~5 min tests-rpc 📄log
✔️ 90e7224 #2 2024-11-22 18:16:56 ~5 min linux 📦zip
✔️ 90e7224 #1 2024-11-22 18:17:31 ~5 min windows 📦zip
✔️ 90e7224 #2 2024-11-22 18:18:38 ~7 min android 📦aar
✔️ 90e7224 #1 2024-11-22 18:18:54 ~7 min macos 📦zip
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ cb426a7 #2 2024-11-25 19:52:10 ~3 min macos 📦zip
✖️ cb426a7 #3 2024-11-25 19:52:30 ~4 min tests 📄log
✔️ cb426a7 #2 2024-11-25 19:52:35 ~4 min windows 📦zip
✔️ cb426a7 #3 2024-11-25 19:52:46 ~4 min ios 📦zip
✔️ cb426a7 #3 2024-11-25 19:53:27 ~5 min linux 📦zip
✔️ cb426a7 #3 2024-11-25 19:53:35 ~5 min android 📦aar
✔️ cb426a7 #3 2024-11-25 19:54:10 ~5 min tests-rpc 📄log
✔️ cb426a7 #2 2024-11-25 19:56:31 ~8 min macos 📦zip
✔️ 8f3957b #3 2024-11-25 21:59:15 ~3 min windows 📦zip
✔️ 8f3957b #3 2024-11-25 21:59:44 ~4 min macos 📦zip
✔️ 8f3957b #4 2024-11-25 21:59:54 ~4 min ios 📦zip
✔️ 8f3957b #4 2024-11-25 22:00:44 ~5 min tests-rpc 📄log
✔️ 8f3957b #4 2024-11-25 22:01:05 ~5 min linux 📦zip
✔️ 8f3957b #4 2024-11-25 22:01:46 ~6 min android 📦aar
✔️ 8f3957b #3 2024-11-25 22:03:21 ~8 min macos 📦zip
✖️ 8f3957b #4 2024-11-25 22:25:14 ~29 min tests 📄log

Copy link

codecov bot commented Oct 22, 2024

Codecov Report

Attention: Patch coverage is 0% with 11 lines in your changes missing coverage. Please review.

Project coverage is 10.60%. Comparing base (3179532) to head (36bd9c5).

Files with missing lines Patch % Lines
wakuv2/telemetry.go 0.00% 9 Missing ⚠️
wakuv2/waku.go 0.00% 2 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (3179532) and HEAD (36bd9c5). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (3179532) HEAD (36bd9c5)
unit 1 0
Additional details and impacted files
@@             Coverage Diff              @@
##           develop    #5973       +/-   ##
============================================
- Coverage    47.62%   10.60%   -37.03%     
============================================
  Files          843      834        -9     
  Lines       138244   136994     -1250     
============================================
- Hits         65845    14523    -51322     
- Misses       64627   120617    +55990     
+ Partials      7772     1854     -5918     
Flag Coverage Δ
functional 10.60% <0.00%> (-0.06%) ⬇️
unit ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
wakuv2/waku.go 44.81% <0.00%> (-25.16%) ⬇️
wakuv2/telemetry.go 0.00% <0.00%> (-74.08%) ⬇️

... and 641 files with indirect coverage changes

@adklempner adklempner force-pushed the feat/telemetry-total-bandwidth branch 2 times, most recently from 90e7224 to cb426a7 Compare November 25, 2024 19:47
@adklempner adklempner force-pushed the feat/telemetry-total-bandwidth branch from cb426a7 to 8f3957b Compare November 25, 2024 21:54
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.

Distinguish net vs gross bandwith usage
2 participants