libddprof provides a shared library containing common code used in the implementation of Datadog's
Continuous Profilers.
NOTE: If you're building a new profiler or want to contribute to Datadog's existing profilers, you've come to the right place! Otherwise, this is possibly not the droid you were looking for.
Run bundle exec rake to run the tests and the style autofixer.
You can also run bundle exec pry for an interactive prompt that will allow you to experiment.
Note: No Ruby needed to run this! It all runs inside docker :)
Note: Publishing new releases to rubygems.org can only be done by Datadog employees.
- Locate the new libddprof release on GitHub: https://github.com/DataDog/libddprof/releases
- Update the
LIB_GITHUB_RELEASESsection of the with the new version - Update the <lib/libddprof/version.rb> file with the
LIB_VERSIONandVERSIONto use - Commit change, open PR, get it merged
- Release by running
docker-compose run push_to_rubygems. (When asked for rubygems credentials, check your local friendly Datadog 1Password.) - Verify that release shows up correctly on: https://rubygems.org/gems/libddprof
See <../CONTRIBUTING.md>.