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

🐛 do not send bps metrics where they are less than 1 #6634

Merged
merged 11 commits into from
Nov 6, 2024

Conversation

GitHK
Copy link
Contributor

@GitHK GitHK commented Oct 29, 2024

What do these changes do?

Transfer rates that are almost 0 are making the results inaccurate. Sending transfer rates only when they are >= 1 bps.

Related issue/s

How to test

Dev-ops checklist

@GitHK GitHK self-assigned this Oct 29, 2024
@GitHK GitHK added the a:director-v2 issue related with the director-v2 service label Oct 29, 2024
@GitHK GitHK added this to the Caveman milestone Oct 29, 2024
@GitHK GitHK added the t:maintenance Some planned maintenance work label Oct 29, 2024
@GitHK GitHK changed the title ♻️ do not send bps metrics where they are less than 1 🐛 do not send bps metrics where they are less than 1 Oct 29, 2024
Copy link

codecov bot commented Oct 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.11%. Comparing base (db3aacf) to head (b752f9b).
Report is 1 commits behind head on master.

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

HEAD has 28 uploads less than BASE
Flag BASE (db3aacf) HEAD (b752f9b)
unittests 29 1
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #6634       +/-   ##
===========================================
- Coverage   87.54%   67.11%   -20.43%     
===========================================
  Files        1479      609      -870     
  Lines       59316    30875    -28441     
  Branches     2106      265     -1841     
===========================================
- Hits        51928    20723    -31205     
- Misses       7063    10091     +3028     
+ Partials      325       61      -264     
Flag Coverage Δ *Carryforward flag
integrationtests 63.74% <100.00%> (-1.09%) ⬇️ Carriedforward from be8fac6
unittests 84.22% <33.33%> (-1.17%) ⬇️

*This pull request uses carry forward flags. Click here to find out more.

Components Coverage Δ
api ∅ <ø> (∅)
pkg_aws_library ∅ <ø> (∅)
pkg_dask_task_models_library ∅ <ø> (∅)
pkg_models_library ∅ <ø> (∅)
pkg_notifications_library ∅ <ø> (∅)
pkg_postgres_database ∅ <ø> (∅)
pkg_service_integration ∅ <ø> (∅)
pkg_service_library ∅ <ø> (∅)
pkg_settings_library ∅ <ø> (∅)
pkg_simcore_sdk 77.44% <ø> (-7.84%) ⬇️
agent ∅ <ø> (∅)
api_server ∅ <ø> (∅)
autoscaling ∅ <ø> (∅)
catalog ∅ <ø> (∅)
clusters_keeper ∅ <ø> (∅)
dask_sidecar ∅ <ø> (∅)
datcore_adapter ∅ <ø> (∅)
director ∅ <ø> (∅)
director_v2 90.79% <100.00%> (-0.13%) ⬇️
dynamic_scheduler ∅ <ø> (∅)
dynamic_sidecar 59.79% <ø> (-30.01%) ⬇️
efs_guardian ∅ <ø> (∅)
invitations ∅ <ø> (∅)
osparc_gateway_server 79.42% <ø> (-5.73%) ⬇️
payments ∅ <ø> (∅)
resource_usage_tracker ∅ <ø> (∅)
storage ∅ <ø> (∅)
webclient ∅ <ø> (∅)
webserver 57.96% <ø> (-31.32%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update db3aacf...b752f9b. Read the comment docs.

@GitHK GitHK marked this pull request as ready for review October 30, 2024 10:53
Copy link
Member

@pcrespov pcrespov left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@sanderegg sanderegg left a comment

Choose a reason for hiding this comment

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

Thanks, but can you change the implementation to really check whether any file was transferred instead of the hack with the rate. what if the rate really goes down?? then we will miss it.

@GitHK GitHK requested a review from sanderegg November 1, 2024 09:30
Copy link
Member

@sanderegg sanderegg left a comment

Choose a reason for hiding this comment

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

Great, thanks for the changes

@GitHK GitHK enabled auto-merge (squash) November 1, 2024 09:41
Copy link

sonarqubecloud bot commented Nov 6, 2024

@GitHK GitHK merged commit 091c077 into ITISFoundation:master Nov 6, 2024
80 of 89 checks passed
@GitHK GitHK deleted the pr-osparc-remove-zero-pull-rate branch November 6, 2024 09:05
matusdrobuliak66 pushed a commit that referenced this pull request Nov 7, 2024
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Jan 15, 2025
58 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:director-v2 issue related with the director-v2 service t:maintenance Some planned maintenance work
Projects
None yet
4 participants