Skip to content

Introduce k8s.volume.used metric #40476

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

Open
odubajDT opened this issue Jun 4, 2025 · 2 comments · May be fixed by #40519
Open

Introduce k8s.volume.used metric #40476

odubajDT opened this issue Jun 4, 2025 · 2 comments · May be fixed by #40519
Labels
enhancement New feature or request never stale Issues marked with this label will be never staled and automatically removed receiver/kubeletstats

Comments

@odubajDT
Copy link
Contributor

odubajDT commented Jun 4, 2025

Component(s)

receiver/kubeletstats

Is your feature request related to a problem? Please describe.

Volume usage is the only information that is not exposed by the kubeletstats receiver, even if the information from the /stats/summary endpoint is present. It would be very useful to have this information exposed via a dedicated metric, following the existing pattern.

Snippet from the /stats/summary endpoint:

"volume": [
    {
     "time": "2025-06-03T07:40:12Z",
     "availableBytes": 52416512,
     "capacityBytes": 52428800,
     "usedBytes": 12288,
     "inodesFree": 1526875,
     "inodes": 1526885,
     "inodesUsed": 9,
     "name": "kube-api-access-mzh62"
    }
   ],

Describe the solution you'd like

Export k8s.volume.used metric

Describe alternatives you've considered

None

Additional context

No response

@odubajDT odubajDT added enhancement New feature or request needs triage New item requiring triage labels Jun 4, 2025
Copy link
Contributor

github-actions bot commented Jun 4, 2025

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@ChrsMark ChrsMark added never stale Issues marked with this label will be never staled and automatically removed and removed needs triage New item requiring triage labels Jun 4, 2025
@ChrsMark
Copy link
Member

ChrsMark commented Jun 4, 2025

There is an ongoing PR for adding this (along with the existing ones) as Semantic Conventions: open-telemetry/semantic-conventions#2319

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request never stale Issues marked with this label will be never staled and automatically removed receiver/kubeletstats
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants