We welcome any contributions whether it is:
- Submitting feedback
- Fixing bugs
- Or implementing a new feature.
Please read this guide before making any contributions.
We utilize conventional commits for writing proper commit messages. Please stick to the conventional commit guide when you write your commit message.
The feedback should be submitted by creating an issue on GitHub issues. Select the related template (bug report, feature request or custom) and add the corresponding labels.
If you have any more generic-like requests, feel free to open a discussion.
If you want to fix a bug, you may look through the GitHub issues for bugs.
If you have any ideas or suggestions, please open an issue and describe your idea or feature request. If you want to implement a specific feature, you may look through the GitHub issues for feature requests.
- Fork the repository and create a new branch based on the
main
branch. - For bug fixes and features, please add new tests and add according changes to the documentation, if needed.
- Do a PR from your new branch to our
main
branch of the original repo.
- Make sure any new feature has a proper documentation or is described in the README.md.
We use the standard golang library for testing. Make sure to write tests for any new feature and/or bug fixes.
If you want to contribute to the project, please make sure that
-
changes compile
-
and tests are green
$ go build -o bin/aiven-metadata-prometheus-exporter $ go test -v ./...
-
the changes are reflected on the
/metrics
endpoint$ export AIVEN_API_TOKEN=MyToken; bin/aiven-metadata-prometheus-exporter $ curl -s localhost:2112/metrics