Skip to content

Metrics - Disk | Inode Usage #46

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

Closed
mertssmnoglu opened this issue Feb 5, 2025 · 4 comments · Fixed by #56
Closed

Metrics - Disk | Inode Usage #46

mertssmnoglu opened this issue Feb 5, 2025 · 4 comments · Fixed by #56
Assignees
Labels
good first issue Good for newcomers platform:linux Linux Platforms platform:macos MacOS Platforms

Comments

@mertssmnoglu
Copy link
Member

Implement Inode Usage metrics on Linux servers.

The disk metrics should return the 4 key metrics.

  • Free Inodes
  • Total Inodes
  • Used Inodes
  • Used Percent

@mertssmnoglu mertssmnoglu added the platform:linux Linux Platforms label Feb 5, 2025
@mertssmnoglu mertssmnoglu added the good first issue Good for newcomers label Mar 4, 2025
@Owaiseimdad
Copy link
Contributor

Can this be implemented with mac laptop @mertssmnoglu , let me know if yes you can assign this to be.

@noodlewhale
Copy link
Contributor

Hello! Is this issue still available? First time contributor here and I have some introductory knowledge on operating systems.

@mertssmnoglu
Copy link
Member Author

Yes this issue is still available. @noodlewhale I'm assigning this to you. Our current disk metrics has INode... fields so you can extend it like diskUsage.InodesFree

diskUsage, diskUsageErr := disk.Usage(p.Mountpoint)

@mertssmnoglu
Copy link
Member Author

Can this be implemented with mac laptop @mertssmnoglu , let me know if yes you can assign this to be.

Technically yes you can see INode usage in any Unix system with df -hi command. I added macos label too.

noodlewhale added a commit to noodlewhale/capture that referenced this issue Mar 23, 2025
@mertssmnoglu mertssmnoglu linked a pull request Mar 26, 2025 that will close this issue
mertssmnoglu added a commit that referenced this issue Mar 26, 2025
* Fix: #46 Inode Usage metrics

* fix duplicate fields and formatting

---------

Co-authored-by: Mert Şişmanoğlu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers platform:linux Linux Platforms platform:macos MacOS Platforms
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants