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 collect FS metrics for fscache driver #313

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

sctb512
Copy link
Member

@sctb512 sctb512 commented Jan 13, 2023

The metrics for /api/v1/metrics 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

@codecov-commenter
Copy link

codecov-commenter commented Jan 13, 2023

Codecov Report

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

Coverage data is based on head (8c74801) compared to base (38ec2ed).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #313   +/-   ##
=======================================
  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.

@sctb512 sctb512 force-pushed the avoid-collect-fs-metrics branch 2 times, most recently from 4500baf to e34b545 Compare January 13, 2023 08:09
The metrics for /api/v1/metrics 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>
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 7e6afdb into containerd:main Jan 13, 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