README.md
This Heroku buildpack enables the ddtrace PHP extension.
To add this buildpack to your project, run the following:
heroku buildpacks:add --app <your-app-name> https://github.com/SpeedCurve-Metrics/heroku-buildpack-php-ddtrace.git
Make sure to add this buildpack after the PHP buildpack, as a PHP binary is needed to run the installer.
This buildpack accepts several config vars. All of them are optional:
DD_RELEASE - The release version of dd-trace-php to download. Uses latest release if omited.DD_INSTALLER_URL - The URL to the datadog-setup.php to be used (to be found on the dd-trace-php release page).DD_PROFILING_ENABLED - Set to a non empty value, this will install and enable the profiling extension.DD_APPSEC_ENABLED - Set to a non empty value, this will install and enable the appsec extension.Note: In case DD_RELEASE is omited, this will always install the latest version.
For new applications:
For existing applications: