prometheus / prometheus/procfs
FreeBSD linprocfs and linsysfs compatibility
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 883
- Forks
- 388
- Avg merge
- 13h 28m
- Merged PRs (30d)
- 3
Description
FreeBSD contains optional linprocfs and linsysfs modules that provides a subset of the equivalent Linux pseudo-filesystems. They are usually mounted in /compat/linux/proc and /compat/linux/sys.
It would be great if this module were able to detect these and support that subset of the functionality!
Without them, other Prometheus code such as the Process module from client_golang don't work, although to an extent they can be fooled by mounting the Linux pseudo-FSs into (for example) /proc instead of /compat/linux/proc.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by surveying the procfs code for filesystem detection and the handling of /proc and /sys, then compare those paths with FreeBSD's /compat/linux/proc and /compat/linux/sys mounts. Done means the module detects linprocfs and linsysfs and supports the subset needed by the issue, including compatibility with client_golang's Process module.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100