Thanks for your interest in contributing. This guide covers the dev workflow, how to run tests, and what we look for in a PR.
This project follows the Contributor Covenant. By participating you agree to uphold its terms.
| Path | What it is |
|---|---|
l9gpu/ |
Python package — node-level collector + CLI |
k8sprocessor/ |
Go OTel Collector processor (K8s enrichment) |
slurmprocessor/ |
Go OTel Collector processor (Slurm enrichment) |
k8shelper/ |
Go K8s API helper library |
shelper/ |
Go Slurm helper library |
deploy/helm/ |
Helm chart |
deploy/demo/ |
One-command EKS demo |
dashboards/ |
Pre-built Grafana dashboards |
alerts/ |
Prometheus / Grafana alert rules |
docs/ |
User-facing documentation |
Requires Python 3.10+.
# Install dev deps and the package in editable mode
pip install -r dev-requirements.txt
pip install -e .
# Install the pre-commit hooks (runs black, isort, flake8, mypy on commit)
pre-commit installRequires Go 1.22+.
Each Go module is self-contained with its own go.mod:
cd k8sprocessor && go mod download
cd slurmprocessor && go mod download
cd k8shelper && go mod download
cd shelper && go mod downloadmake lint # nox -s lint (black --check, isort --check, flake8)
make typecheck # nox -s typecheck (mypy)
make test # nox -s tests (pytest)
make format # nox -s format (black, isort)cd k8sprocessor && go test ./...
cd slurmprocessor && go test ./...
cd k8shelper && go test ./...
cd shelper && go test ./...helm lint deploy/helm/l9gpu
kubectl apply --dry-run=client -f deploy/demo/-
Fork the repo and create a topic branch (
feat/<short-name>,fix/<short-name>,docs/<short-name>). -
Make focused commits. Prefer small, reviewable changes.
-
Include tests for new functionality and bug fixes.
-
Run the full check suite locally before opening the PR (
make lint test+ relevantgo test). -
Update user-facing docs (
docs/*.md, README, chart values) if behavior or configuration changes. -
Open the PR against
main. Describe the motivation, what changed, and any follow-ups. Link related issues. -
Sign off your commits with the Developer Certificate of Origin (
git commit -s). This line is required on every commit:Signed-off-by: Your Name <you@example.com>
Use Conventional Commits prefixes:
feat:— user-visible new capabilityfix:— bug fixdocs:— documentation onlyrefactor:— no behavior changetest:— test additions / changesbuild:/chore:— tooling, deps, release plumbing
Keep the subject line under 72 characters; put the why in the body.
Use GitHub Issues. Please include:
- What you ran and what you expected
- Actual output (stdout, logs, metrics samples)
- Environment: OS, Python/Go version, Kubernetes version, GPU model + driver
- A minimal reproduction where possible
Don't open public issues for security reports. See SECURITY.md.