Thank you for your interest in contributing to telemetry-kit! 🎉
This project is in early development, and we welcome contributions of all kinds.
- Fork the repository on GitHub
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/telemetry-kit.git - Create a branch:
git checkout -b feature/your-feature-name - Make your changes
- Run tests:
cargo test - Commit your changes:
git commit -am 'Add some feature' - Push to your fork:
git push origin feature/your-feature-name - Create a Pull Request
- Core API Design: Help shape the public API
- Privacy Features: Anonymization, sanitization, GDPR compliance
- Documentation: Examples, tutorials, API docs
- CLI Tools: Scaffolding, auto-instrumentation suggestions
- Testing: Unit tests, integration tests, examples
- Backend Integrations: OTLP, custom exporters
- Performance: Benchmarks, optimizations
- Examples: Real-world use cases
- CI/CD: GitHub Actions, automated releases
- Self-hosted Server: Collection server implementation
- Dashboards: Web UI for analytics
- VS Code Extension: Inline instrumentation suggestions
Keep these in mind when contributing:
- Privacy First: Never compromise user privacy
- Simple API: Keep it as simple as possible
- Batteries Included: Provide sensible defaults
- CLI Friendly: Optimize for command-line tools
- Self-Hostable: Users should be able to run their own infrastructure
- Follow standard Rust formatting:
cargo fmt - Run clippy before committing:
cargo clippy - Add tests for new functionality
- Document public APIs with doc comments
- Keep dependencies minimal
# Run all tests
cargo test
# Run tests with output
cargo test -- --nocapture
# Run a specific test
cargo test test_name
# Check formatting
cargo fmt -- --check
# Run clippy
cargo clippy -- -D warnings- Add doc comments to public items
- Update README.md if adding user-facing features
- Add examples to
examples/directory - Update CHANGELOG.md
When reporting bugs, please include:
- Description: Clear description of the issue
- Reproduction: Minimal code to reproduce
- Expected behavior: What should happen
- Actual behavior: What actually happens
- Environment: OS, Rust version, telemetry-kit version
We love feature suggestions! Please:
- Check existing issues first
- Describe the use case
- Explain how it fits the project goals
- Consider privacy implications
- Suggest an API design if possible
- Be respectful and inclusive
- Welcome newcomers
- Focus on constructive feedback
- Assume good intentions
By contributing, you agree that your contributions will be licensed under the MIT License
Every contribution matters, whether it's:
- Reporting a bug
- Suggesting a feature
- Writing documentation
- Submitting code
- Spreading the word
Thank you for making telemetry-kit better! 🚀