Add new k8s.node.filesystem semantic conventions#3890
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot couldn't run its full agentic review because no GitHub Actions runner was available. Make sure your repository has a runner available to run Copilot's review, or add a copilot-setup-steps.yml file specifying one with the runs-on attribute. See the docs for more details.
Adds new semantic conventions and docs for Kubernetes node root filesystem inode metrics, enabling monitoring of inode pressure/exhaustion from Kubelet Summary API data.
Changes:
- Define
k8s.node.filesystem.inode.countandk8s.node.filesystem.inode.freein the k8s metrics model. - Add autogenerated documentation sections and TOC entries for the new metrics.
- Add a changelog entry describing the enhancement.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| model/k8s/metrics.yaml | Adds two new node filesystem inode metric definitions under k8s.node.filesystem.*. |
| docs/system/k8s-metrics.md | Documents the new inode metrics and updates the metrics TOC. |
| .chloggen/add-k8s-node-inode-metrics.yaml | Adds a release note entry for the new inode metrics. |
|
Hi @ChrsMark, could you please review this PR? Thanks! |
Pull request dashboard statusStatus last refreshed: 2026-07-25 14:01:50 UTC.
This automated status or its linked feedback items may be incorrect. If something looks wrong, please report it with the result you expected. |
braydonk
left a comment
There was a problem hiding this comment.
My approval cannot be official since I'm not part of this group, but I was part of the discussion in the Collector issue on this and confirm it matches my understanding of what we agreed upon there.
|
Hi @kamphaus , may I have your review here? Thanks |
Fixes #3858
Changes
This PR proposes adding new Kubernetes node-level filesystem inode capacity and usage metrics under the
k8s.node.filesystemnamespace:k8s.node.filesystem.inode.count(UpDownCounter,{inode}): Represents the total number of inodes in the node's root filesystem.k8s.node.filesystem.inode.free(UpDownCounter,{inode}): Represents the number of free inodes in the node's root filesystem.These metrics are derived from the Kubelet Summary API (
v1alpha1.NodeStats.FsStatsfieldsInodesandInodesFreerespectively). Adding these allows monitoring for potential inode pressure or exhaustion on Kubernetes nodes, complementing the existing pod volume inode metrics.Only the semantic conventions
model/file and corresponding documentation sections have been updated.Merge requirement checklist
FsStats.InodesandFsStats.InodesFreeFootnotes
Yes, I can answer maintainer questions about the content of this PR without using AI. ↩