We welcome contributions to the mumzworld/magento2-opentelemetry package! Before you start, please take a moment to read this guide.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project, you agree to abide by its terms. Please read our CODE_OF_CONDUCT.md.
If you find a bug, please help us by submitting an issue to our GitHub repository.
- Search: Check existing issues to see if the bug has already been reported.
- Submit: Open a new issue and use the Bug Report issue template.
- Details: Include as much detail as possible:
- Steps to reproduce the issue.
- Expected vs. actual behavior.
- Your PHP, Magento 2, and package version(s).
- Relevant stack trace or error messages.
We love hearing new ideas! For major features or significant changes:
- Discuss First: Please open an issue to discuss the feature with the maintainers before investing time in writing code. This ensures the idea aligns with the project's goals.
- Scope: Ensure the suggestion relates directly to OpenTelemetry integration within Magento 2.
To contribute code, please follow these steps:
- Fork: Fork the
mumzworld/magento2-opentelemetryrepository. - Clone: Clone your forked repository to your local machine.
- Setup: Follow the installation and setup steps detailed in the README.md.
- Branch: Create a new branch for your feature or fix (e.g.,
feature/add-trace-idorfix/error-reporting). - Code: Write your code, ensuring it adheres to standard Magento 2 coding practices.
- Test: All contributions must include tests. If you are fixing a bug, add a failing test that is fixed by your code. If you are adding a feature, add tests to cover the new functionality.
- Commit: Commit your changes using clear and descriptive commit messages.
- Review: Ensure your changes pass all checks.
- PR Details: Submit your Pull Request against the
mainbranch of the original repository. - Checklist: Ensure your PR description addresses the following:
- Does this PR address an existing issue (link it)?
- Does this PR include necessary tests?
- Is the code style clean and consistent?
- Patience: Maintainers will review your PR as quickly as possible. We may ask for changes or clarifications. Be responsive, and thank you for your contribution!