prometheus / prometheus/procfs

FreeBSD linprocfs and linsysfs compatibility

Open
#462 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.