Skip to content

realFlowControl/heroku-buildpack-php-ddtrace

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

Datadog APM (ddtrace) PHP extension Heroku buildpack

This Heroku buildpack enables the ddtrace PHP extension.

Requirements

Installation

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.

Configuration

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.

About

Heroku buildpack for enabling the ddtrace PHP extension

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%