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

NAS-130848 / 25.04 / Add apps stats #10620

Merged
merged 9 commits into from
Sep 9, 2024
Merged

NAS-130848 / 25.04 / Add apps stats #10620

merged 9 commits into from
Sep 9, 2024

Conversation

denysbutenko
Copy link
Member

@denysbutenko denysbutenko commented Sep 4, 2024

Changes:

Add apps stats on installed apps

Testing:

Check installed apps page

Downstream

Affects Reasoning
Documentation Adds back app stats.

@denysbutenko denysbutenko requested a review from a team as a code owner September 4, 2024 14:57
@denysbutenko denysbutenko requested review from undsoft and removed request for a team September 4, 2024 14:57
@bugclerk bugclerk changed the title NAS-130848: Add apps stats NAS-130848 / 25.04 / Add apps stats Sep 4, 2024
@bugclerk
Copy link
Contributor

bugclerk commented Sep 4, 2024

Copy link

codecov bot commented Sep 4, 2024

Codecov Report

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

Project coverage is 79.75%. Comparing base (3e9be2a) to head (a5b9fd7).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...es/apps/components/apps-scope-wrapper.component.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #10620      +/-   ##
==========================================
+ Coverage   79.73%   79.75%   +0.01%     
==========================================
  Files        1561     1562       +1     
  Lines       51295    51325      +30     
  Branches     5846     5846              
==========================================
+ Hits        40901    40934      +33     
+ Misses      10394    10391       -3     

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

Copy link
Collaborator

@undsoft undsoft left a comment

Choose a reason for hiding this comment

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

Looks good overall.

@@ -4,13 +4,13 @@ <h4>{{ 'Network I/O' | translate }}</h4>
<div class="in-out-row">
<span>{{ 'In' | translate }}:</span>
<span *ixWithLoadingState="stats() as stats">
{{ stats.network.incoming | ixNetworkSpeed }}
{{ stats.networks[0].rx_bytes | ixNetworkSpeed }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we may need to sum up values from all interfaces here.

Copy link
Member Author

Choose a reason for hiding this comment

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

I noted this in the ticket

@denysbutenko denysbutenko enabled auto-merge (squash) September 9, 2024 11:37
@undsoft undsoft disabled auto-merge September 9, 2024 12:07
<div class="cell cell-network" [matTooltip]="'Incoming / Outgoing network traffic' | translate">
@if (stats()?.networks) {
<span>
{{ stats().networks[0].rx_bytes | ixNetworkSpeed }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Commented in incorrect place. App widgets can be fixed later, but network stats need to be fixed here now.

Copy link
Collaborator

@undsoft undsoft left a comment

Choose a reason for hiding this comment

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

Looks good, thanks.

@undsoft undsoft enabled auto-merge (squash) September 9, 2024 13:19
@denysbutenko denysbutenko added the backport-24.10-RC.1 Electric Eel RC1 label Sep 9, 2024
@undsoft undsoft merged commit a2640a0 into master Sep 9, 2024
8 checks passed
@undsoft undsoft deleted the NAS-130848 branch September 9, 2024 13:41
@bugclerk
Copy link
Contributor

bugclerk commented Sep 9, 2024

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Sep 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants