status-go icon indicating copy to clipboard operation
status-go copied to clipboard

feat(telemetry)_: track total bandwidth

Open adklempner opened this issue 1 year ago • 2 comments

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:

  • Depends on https://github.com/status-im/telemetry/pull/70

Closes https://github.com/status-im/telemetry/issues/62

adklempner avatar Oct 22 '24 00:10 adklempner

Jenkins Builds

Click to see older builds (13)
:grey_question: Commit :hash: Finished (UTC) Duration Platform Result
:heavy_multiplication_x: 36bd9c58 #1 2024-10-22 00:21:22 ~3 min tests :page_facing_up:log
:heavy_check_mark: 36bd9c58 #1 2024-10-22 00:22:23 ~4 min ios :package:zip
:heavy_check_mark: 36bd9c58 #1 2024-10-22 00:23:05 ~5 min linux :package:zip
:heavy_check_mark: 36bd9c58 #1 2024-10-22 00:24:07 ~6 min tests-rpc :page_facing_up:log
:heavy_check_mark: 36bd9c58 #1 2024-10-22 00:26:52 ~9 min android :package:aar
:heavy_multiplication_x: 90e7224e #2 2024-11-22 18:15:34 ~4 min tests :page_facing_up:log
:heavy_check_mark: 90e7224e #1 2024-11-22 18:16:11 ~4 min macos :package:zip
:heavy_check_mark: 90e7224e #2 2024-11-22 18:16:22 ~4 min ios :package:zip
:heavy_multiplication_x: 90e7224e #2 2024-11-22 18:16:30 ~5 min tests-rpc :page_facing_up:log
:heavy_check_mark: 90e7224e #2 2024-11-22 18:16:56 ~5 min linux :package:zip
:heavy_check_mark: 90e7224e #1 2024-11-22 18:17:31 ~5 min windows :package:zip
:heavy_check_mark: 90e7224e #2 2024-11-22 18:18:38 ~7 min android :package:aar
:heavy_check_mark: 90e7224e #1 2024-11-22 18:18:54 ~7 min macos :package:zip
:grey_question: Commit :hash: Finished (UTC) Duration Platform Result
:heavy_check_mark: cb426a75 #2 2024-11-25 19:52:10 ~3 min macos :package:zip
:heavy_multiplication_x: cb426a75 #3 2024-11-25 19:52:30 ~4 min tests :page_facing_up:log
:heavy_check_mark: cb426a75 #2 2024-11-25 19:52:35 ~4 min windows :package:zip
:heavy_check_mark: cb426a75 #3 2024-11-25 19:52:46 ~4 min ios :package:zip
:heavy_check_mark: cb426a75 #3 2024-11-25 19:53:27 ~5 min linux :package:zip
:heavy_check_mark: cb426a75 #3 2024-11-25 19:53:35 ~5 min android :package:aar
:heavy_check_mark: cb426a75 #3 2024-11-25 19:54:10 ~5 min tests-rpc :page_facing_up:log
:heavy_check_mark: cb426a75 #2 2024-11-25 19:56:31 ~8 min macos :package:zip
:heavy_check_mark: 8f3957b1 #3 2024-11-25 21:59:15 ~3 min windows :package:zip
:heavy_check_mark: 8f3957b1 #3 2024-11-25 21:59:44 ~4 min macos :package:zip
:heavy_check_mark: 8f3957b1 #4 2024-11-25 21:59:54 ~4 min ios :package:zip
:heavy_check_mark: 8f3957b1 #4 2024-11-25 22:00:44 ~5 min tests-rpc :page_facing_up:log
:heavy_check_mark: 8f3957b1 #4 2024-11-25 22:01:05 ~5 min linux :package:zip
:heavy_check_mark: 8f3957b1 #4 2024-11-25 22:01:46 ~6 min android :package:aar
:heavy_check_mark: 8f3957b1 #3 2024-11-25 22:03:21 ~8 min macos :package:zip
:heavy_multiplication_x: 8f3957b1 #4 2024-11-25 22:25:14 ~29 min tests :page_facing_up:log

status-im-auto avatar Oct 22 '24 00:10 status-im-auto

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 :warning:
wakuv2/waku.go 0.00% 2 Missing :warning:

:exclamation: 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%) :arrow_down:
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%) :arrow_down:
wakuv2/telemetry.go 0.00% <0.00%> (-74.08%) :arrow_down:

... and 641 files with indirect coverage changes

codecov[bot] avatar Oct 22 '24 00:10 codecov[bot]

closing in favor of https://github.com/status-im/status-go/pull/6275

adklempner avatar Jan 23 '25 04:01 adklempner