The APM Agent is open source and we love to receive contributions from our community — you!
There are many ways to contribute, from writing tutorials or blog posts, improving the documentation, submitting bug reports and feature requests or writing code.
You can get in touch with us through Discuss, feedback and ideas are always welcome.
If you have a bugfix or new feature that you would like to contribute, please find or open an issue about it first. Talk about what you would like to do. It may be that somebody is already working on it, or that there are particular issues that you should know about before implementing the change.
All feature development and most bug fixes hit the master branch first. Pull requests should be reviewed by someone with commit access. Once approved, the author of the pull request, or reviewer if the author does not have commit access, should "Squash and merge".
To do a full test run, use either bundle exec rspec
or rake spec
. Individual specs should also run as expected. The Mongo test needs a Mongo instance running, but will start one itself if Docker is installed.
To test other platform, use the Docker setup and scripts like spec.sh RUBY_DOCKER_IMAGE FRAMEWORK
.
$ spec/scripts/spec.sh ruby:2.6 rails-5.2
To release a new version:
- Update
VERSION
inlib/elastic_apm/version.rb
according to the changes (major, minor, patch). - Update
CHANGELOG.md
to reflect the new version – change Unreleased section to Version (release date). - For Majors: Add a new row to the EOL table in
docs/upgrading.asciidoc
. The EOL date is the release date plus 18 months. - Make a new commit with the changes above, with a message in the style of
vX.X.X
. - Run
rake release
. This will...- Tag the current commit as new version.
- Push the tag to GitHub.
- Build the gem and upload to Rubygems (local user needs to be signed in and authorized.)
- Run
rake release:update_branch
. This will...- Update
3.x
branch to be at released commit and push it to GitHub.
- Update