-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[receiver/kubeletstats]Add node runtime imagefs metrics #25880
[receiver/kubeletstats]Add node runtime imagefs metrics #25880
Conversation
|
1a5e20e
to
720cc82
Compare
720cc82
to
506fe1c
Compare
506fe1c
to
6b07910
Compare
attributes: [] | ||
k8s.node.runtime.imagefs.inodes_used: | ||
enabled: true | ||
description: Node runtime imagefs inodes_used |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add in the description that this may not equal Inodes - InodesFree
@@ -187,6 +187,48 @@ metrics: | |||
monotonic: true | |||
aggregation_temporality: cumulative | |||
attributes: [] | |||
k8s.node.runtime.imagefs.available: | |||
enabled: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New metrics should be added as optional. If they need to be enabled by default, it should be done via a separate process (by adding warnings first) after the metrics are in place. Please see https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/scraping-receivers.md for more details
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am very sorry for my foolish mistake that requires me to resubmit the pull request.Thank you for reviewing the code:#26259
9db9a18
to
1ba49ba
Compare
I am very sorry for my foolish mistake that requires me to resubmit the pull request.Thank you for reviewing the code. |
[receiver/kubelet]Add runtime imagesfs metrics for node
Description:
This PR added runtime imagefs metrics for node.
Testing:
test locally using the otel demo
unit test