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

metrics: avoid to collect inflight metrics for fscache driver #317

Merged
merged 1 commit into from
Jan 16, 2023

Conversation

sctb512
Copy link
Member

@sctb512 sctb512 commented Jan 16, 2023

Similar to FS metrics. The metrics for /api/v1/metrics/inflight are in the RAFS of nydus daemon.
When the driver is fscache, there are no metrics in RAFS.

Signed-off-by: Bin Tang tangbin.bin@bytedance.com

@sctb512 sctb512 changed the title metrics: avoid collect inflight metrics for fscache driver metrics: avoid to collect inflight metrics for fscache driver Jan 16, 2023
Similar to FS metrics. The metrics for /api/v1/metrics/inflight
are in the RAFS of nydus daemon.
When the driver is fscache, there are no metrics in RAFS.

Signed-off-by: Bin Tang <tangbin.bin@bytedance.com>
@sctb512 sctb512 force-pushed the avoid-collect-inflight-metrics branch from 76c89a4 to 915190c Compare January 16, 2023 03:15
@codecov-commenter
Copy link

codecov-commenter commented Jan 16, 2023

Codecov Report

Base: 30.50% // Head: 30.50% // No change to project coverage 👍

Coverage data is based on head (915190c) compared to base (7e6afdb).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #317   +/-   ##
=======================================
  Coverage   30.50%   30.50%           
=======================================
  Files          37       37           
  Lines        3800     3800           
=======================================
  Hits         1159     1159           
  Misses       2520     2520           
  Partials      121      121           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@changweige changweige left a comment

Choose a reason for hiding this comment

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

LGTM

@changweige changweige merged commit 74a87b3 into containerd:main Jan 16, 2023
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.

None yet

3 participants