datadog / dd-trace
PHP APM Client
Installs: 5 804 006
Dependents: 10
Suggesters: 0
Security: 1
Stars: 336
Watchers: 110
Forks: 144
Open Issues: 77
Requires
- php: ^5.4 || ^7.0 || ^8.0.0
- ext-curl: *
- ext-json: *
Requires (Dev)
- ext-posix: *
- g1a/composer-test-scenarios: ~3.0
- mockery/mockery: *
- phpunit/phpunit: <10
- squizlabs/php_codesniffer: ^3.3.0
- symfony/process: <5
- dev-master
- 0.87.2
- 0.87.1
- 0.87.0
- 0.86.3
- 0.86.2
- 0.86.1
- 0.86.0
- 0.85.0
- 0.84.0
- 0.83.1
- 0.83.0
- 0.82.0
- 0.81.1
- 0.81.0
- 0.80.0
- v0.79.0
- 0.78.0
- 0.77.0
- 0.76.2
- 0.76.1
- 0.76.0
- 0.75.0
- 0.74.0
- 0.73.0
- 0.72.0
- 0.71.1
- 0.71.0
- 0.70.1
- 0.70.0
- 0.69.0
- 0.68.2
- 0.68.1
- 0.68.0
- 0.67.0
- 0.66.0
- 0.65.1
- 0.65.0
- 0.64.1
- 0.64.0
- 0.63.0
- 0.62.1
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.3
- 0.48.2
- 0.48.1
- 0.48.0
- 0.47.1
- 0.47.0
- 0.46.0
- 0.45.2
- 0.45.1
- 0.45.0
- 0.44.1
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.1
- 0.41.0
- 0.40.0
- 0.39.2
- 0.39.1
- 0.39.0
- 0.38.1
- 0.38.0
- 0.37.1
- 0.37.0
- 0.36.1
- 0.36.0
- 0.35.0
- 0.34.1
- 0.34.0
- 0.33.0
- 0.32.1
- 0.32.0
- 0.31.0
- 0.30.2
- 0.30.1
- 0.30.0
- 0.29.0
- 0.28.1
- 0.28.0
- 0.27.2
- 0.27.1
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.1
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.1
- 0.16.0
- 0.15.1
- 0.15.0
- 0.14.2
- 0.14.1
- 0.14.0
- 0.13.4
- 0.13.3
- 0.13.2
- 0.13.1
- 0.13.0
- 0.12.2
- 0.12.1
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.1
- 0.9.0
- 0.8.1
- 0.8.0
- 0.7.1
- 0.7.0
- 0.6.0
- 0.5.1
- 0.5.0
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.1
- 0.3.0
- 0.2.7
- 0.2.6
- v0.2.5
- v0.2.4
- 0.2.3
- v0.2.2
- v0.2.1
- 0.2.0
- v0.1.2
- v0.1.1
- v0.1.0
- dev-bob/fix-interceptor-multiobserver
- dev-alex/fix/generate-root-span-laravel-queue
- dev-alex/fix/span-link-amqp
- dev-bob/send_all_configs
- dev-florian/benchmark-stack-walking
- dev-florian/cleanup-allocation-profiling
- dev-alex/fix/argument-meta-remove-5xx
- dev-alex/feature/snapshot-testing
- dev-florian/disable-allocation-profiling-when-jit-is-active
- dev-florian/run-benchmarks-on-every-pr-tryout
- dev-florian/run-benchmarks-on-every-pr
- dev-florian/timeline
- dev-alex/feature/logs-correlation
- dev-alex/fix/exception-4xx-root-span
- dev-levi/wp-metrics
- dev-florian/asan-test-docs
- dev-bob/test-distributed-off
- dev-alex/test/debug-log-span-limit-hit
- dev-levi/profiling-stats
- dev-pool-trace-check-failures
- dev-florian/readme
- dev-alex/fix/amqp-parameters-order
- dev-alex/feature/github-snapshot-workflow
- dev-alex/feature/removed-attrs-snapshot
- dev-alex/test/github-snapshot-workflow-test-removed
- dev-alex/feature/github-snapshot-workflow-test2
- dev-alex/feature/github-snapshot-workflow-test
- dev-bob/profiler_sidecar_vm_interrupt
- dev-florian/io-profiling
- dev-ddtrace-0.87.2
- dev-conti/test-test-agent-new-forwarding
- dev-ddtrace-0.87.1
- dev-alex/fix/symfony-swallowed-exception
- dev-ddtrace-0.87.0
- dev-bob/fix-macos-json
- dev-levi/linux-timer
- dev-bob/fix-leak-randomized
- dev-florian/bench-levi-run-time-cache
- dev-levi/run-time-cache
- dev-florian/pr-level-benchmarks
- dev-ddyurchenko/pr-level-benchmarks-json
- dev-levi/cpu-timer
- dev-ddtrace-0.86.3.4
- dev-ddtrace-0.86.3.3
- dev-ddtrace-0.86.3.2
- dev-ddtrace-0.86.3
- dev-ddtrace-0.86.2
- dev-ddtrace-0.86.1
- dev-ddtrace-0.86.0
- dev-bob/add-aatribute-test-with-opcache
- dev-bob/installer-internal-class
- dev-ddtrace-0.85.0
- dev-anilm3/update-appsec-to-0.7.0
- dev-bob/integrating-revolt
- dev-bob/laravel-set_user
- dev-labbati/sample-xdebug
- dev-ddtrace-0.84.0
- dev-pawel/gitlab_snapshot
- dev-PHP-5
- dev-ddtrace-0.83.1
- dev-ddtrace-0.83.0
- dev-bob/install-rr
- dev-levi/wordpress-6
- dev-levi/laravel-queue-worker
- dev-ddtrace-0.82.0
- dev-florian/rad-exception-profiling
- dev-levi/param-rnd
- dev-pierre/issue-1788
- dev-bob/fix-ini-crashes
- dev-bob/transpile_ops
- dev-ddtrace-0.81.1
- dev-ddtrace-0.81.0
- dev-levi/rnd2
- dev-levi/breakdown
- dev-levi/rnd
- dev-levi/profiling-intake-v2.4
- dev-ddtrace-0.80.0
- dev-krakjoe/lssapi-allow
- dev-ddtrace-0.79.0
- dev-ddtrace-0.78.0
- dev-bob/end-observers-fiber-bailout
- dev-levi/symfony
- dev-levi/wordpress
- dev-ddtrace-0.77.0
- dev-ddtrace-0.77.0-beta.1
- dev-ddtrace-0.76.2
- dev-ddtrace-0.76.1
- dev-ddtrace-0.76.0
- dev-labbati/arm_randomized
- dev-labbati/arm_buster
- dev-labbati/arm
- dev-ddtrace-0.75.0
- dev-disable-DD_TRACE_PROPAGATE_SERVICE-0.75.0
- dev-bob/run-phpredis-debug-mode
- dev-ddtrace-0.74.0
- dev-krakjoe/config-env-fix
- dev-test-ddappsec-randomized-crash
- dev-labbati/revert-appsec
- dev-ddtrace-0.73.0
- dev-bob/do-not-mark-pdo-autoreconnect-spans-as-error
- dev-labbati/ci-20-mins
- dev-ddtrace-0.72.0
- dev-ddtrace-0.71.1
- dev-labbati/randomized-arm-compatible
- dev-ddtrace-0.71.0
- dev-krakjoe/hook
- dev-labbati/bitnami
- dev-krakjoe/curl-7
- dev-bob/test-opcache-prot
- dev-krakjoe/bisect-master-for-randomized-failures
- dev-ddtrace-0.70.1
- dev-krakjoe/test-a-thing
- dev-ddtrace-0.70.0
- dev-labbati/revert-curl-optimization
- dev-bob/simplify-calls
- dev-bob/randomized-curl-bgs-test
- dev-pawel/docker-bake-builds-the-world
- dev-labbati/trying-0.70.0
- dev-labbati/scope-manager
- dev-ddtrace-0.69.0
- dev-sammyk/auto-instrument-lang-tests
- dev-sammyk/zai/interceptor
- dev-krakjoe/zend_abstract_interface/harness
- dev-sammyk/php5/auto-instrument-lang-tests
- dev-bob/bundled-php-installer
- dev-sammyk/internal-integration-api
- dev-ddtrace-0.68.2
- dev-labbati/default-compiled
- dev-ddtrace-0.68.1
- dev-krakjoe/zend_abstract_interface/call
- dev-ddtrace-0.68.0
- dev-labbati/no-bootstrap
- dev-labbati/bundler-action
- dev-curl-multi-failures
- dev-zai_string_dedup
- dev-labbati/install-profiler
- dev-cataphract/appsec-installer
- dev-labbati/finalize-installer
- dev-alpine-cmake-version
- dev-labbati/properties-at-rest
- dev-labbati/less-php
- dev-bob/ddtrace-stream-wrapper
- dev-labbati/doctor
- dev-sammyk/predictive-changelog
- dev-ddtrace-0.67.0
- dev-labbati/randomixed-long-running
- dev-labbati/tmp-test-pdo-and-memfix
- dev-bob/try-laravel-less-false-positives
- dev-labbati/numbers
- dev-release-0.66.1
- dev-ddtrace-0.66.1
- dev-ddtrace-0.66.0
- dev-ddtrace-0.65.1
- dev-ddtrace-0.65.0
- dev-labbati/autoflush-on
- dev-labbati/split-php-tests
- dev-ddtrace-0.64.1
- dev-ddtrace-0.64.0
- dev-labbati/split-lang-tests
- dev-ddtrace-0.63.0
- dev-sammyk/zai/config-nits
- dev-ddtrace-0.62.1
- dev-ddtrace-0.62.0
- dev-labbati/curl-7.77-headers
- dev-labbati/sane-so-names
- dev-bob/headers-internal
- dev-labbati/php8-relenv
- dev-labbati/relenv-cli
- dev-labbati/actions
- dev-ddtrace-0.61.0
- dev-labbati/exceptions
- dev-sammyk/bgs-thread-fix-0.56.0
- dev-sammyk/bgs-thread-fix
- dev-ddtrace-0.60.0
- dev-bob/indent-pp-before-hash
- dev-bob/indent-pp-after-hash
- dev-span-generator
- dev-ddtrace-0.59.0
- dev-labbati/experiments
- dev-labbati/split-web
- dev-ddtrace-0.58.0
- dev-ddtrace-0.57.0
- dev-labbati/generate
- dev-glob-lang-tests
- dev-pawel/add_gitlab
- dev-labbati/separate-web-tests
- dev-labbati/tmp/ot
- dev-labbati/cli-flush-5
- dev-labbati/studying-bgs
- dev-labbati/guzzle-framework-tests
- dev-sammyk/php-master
- dev-labbati/disable-for-good
- dev-ddtrace-0.56.0
- dev-labbati/randomized-templates
- dev-labbati/separate-tests
- dev-ddtrace-0.55.0
- dev-labbati/payload-size
- dev-ddtrace-0.54.0
- dev-ddtrace-0.53.0
- dev-sammyk/wip/curl_multi_exec
- dev-ddtrace-0.52.0
- dev-labbati/random-testing
- dev-labbati/fix-curl-headers-segfault
- dev-ddtrace-0.51.0
- dev-ddtrace-0.50.0
- dev-ddtrace-0.49.0
- dev-labbati/build/alpine-backup
- dev-tmp/build/version-no-include
- dev-labbati/build/alpine-no-php-dep
- dev-labbati/test-final-packages
- dev-ddtrace-0.48.3
- dev-ddtrace-0.48.2
- dev-sammyk/build/php54-zts
- dev-labbati/ci-built
- dev-labbati/investigate-errors
- dev-labbati/defer-multi
- dev-ddtrace-0.48.1
- dev-labbati/remove-sandbox
- dev-labbati/phpredis-php5
- dev-ddtrace-0.48.0
- dev-sammyk/build/sampler
- dev-sammyk/build/agent-v0.5
- dev-ddtrace-0.47.1
- dev-sammyk/build/verify-0.47.1
- dev-labbati/dont-merge-ioncube
- dev-pawel/dispatch_pooling_deduplication_of_loader
- dev-build/c_pp_poc
- dev-ddtrace-0.47.0
- dev-labbati/ci-packaged
- dev-pawel/add_request_init_hook_to_all_tests
- dev-sammyk/build/first-class-internal-spans
- dev-sammyk/build/911-custom
- dev-ddtrace-0.46.0
- dev-sammyk/build/perf-test-2
- dev-sammyk/build/perf-test
- dev-labbati/build/large-resource
- dev-labbati/resource-class-74-nginx
- dev-ddtrace-0.45.2
- dev-ddtrace-0.45.1
- dev-ddtrace-0.45.0
- dev-ddtrace-0.44.1
- dev-ddtrace-0.44.0
- dev-ddtrace-0.43.1
- dev-pawel/sec_test
- dev-labbati/auto-ci
- dev-labbati/build/integration-loading
- dev-ddtrace-0.43.0
- dev-xdebug-sigfpe
- dev-perf-support-linuxkit
- dev-pawel/compiler
- dev-overhead-backup
- dev-sammyk/build/tmp-vm
- dev-ddtrace-0.42.0
- dev-labbati/centos7-yum-error
- dev-mesbahi/test_s3_artifact
- dev-sammyk/build/auto-instrumentation/unaltered-vm
- dev-sammyk/build/auto-instrumentation/2020-03-27
- dev-sammyk/build/remove-dispatch-refcount
- dev-labbati/build/rc0.42.0
- dev-levi/sigbus
- dev-sammyk/symfony-refactor
- dev-sammyk/build/prehook
- dev-labbati/build/not-7-dep
- dev-ddtrace-0.41.1
- dev-ddtrace-0.41.0
- dev-labbati/deprecate-symfony
- dev-ddtrace-0.40.0
- dev-labbati/noisy-log-openbasedir
- dev-labbati/build/symfony-templating-ext
- dev-ddtrace-0.39.2
- dev-ddtrace-0.39.1
- dev-labbati/build/no-root-spans
- dev-ddtrace-0.39.0
- dev-ddtrace-0.38.1
- dev-labbati/debug-image-coredump
- dev-ddtrace-0.38.0
- dev-labbati/eof
- dev-labbati/phalcon
- dev-ddtrace-0.37.1
- dev-labbati/numeric-facets
- dev-sammyk/move-framework-containers
- dev-ddtrace-0.37.0
- dev-labbati/laravel-69-testapp
- dev-labbati/cakephp2.3-testapp
- dev-sammyk/build/auto-instrumentation-beta
- dev-ddtrace-0.36.1
- dev-sammyk/build/fix-basic-5.4
- dev-sammyk/build/non-instrumented-prehook
- dev-ddtrace-0.36.0
- dev-labbati/enable-symfony-sanboxed
- dev-sammyk/poc-auto-span-metadata
- dev-sammyk/build/tmp-early-limited-tracing-check
- dev-labbati/memory-sandbox-api
- dev-ddtrace-0.35.0
- dev-fatal-as-errors
- dev-labbati/ci-makefile
- dev-sammyk/sandbox-curl
- dev-labbati/always-test-sandboxed-and-legacy
- dev-sammyk/build/compilation-time
- dev-ddtrace-0.34.1
- dev-sammyk/fix-distributed-tracing
- dev-labbati-symfony-43-test-app
- dev-ddtrace-0.34.0
- dev-ddtrace-0.33.0
- dev-ddtrace-0.32
- dev-sammyk/safe-drop-span
- dev-ddtrace-0.31
- dev-sammyk/uri-to-resource-on-by-default
- dev-sammyk/fix-web-tests
- dev-sammyk/build/patch-0.30.1
- dev-sammyk/build/patch-0.30.0
- dev-sammyk/fix-ci-php5
- dev-ddtrace-0.30
- dev-release_0.30.2
- dev-sammyk/sandbox-request-init-hook
- dev-sammyk/request-init-hook-open-basedir
- dev-labbati/sandboxing-guzzle
- dev-pawel/build/test_redis_cluster
- dev-labbati/sandboxing-curl
- dev-pawel/build/symfony_correct_install_wip
- dev-pawel/test_different_request_init_hook_for_php_tests
- dev-pawel/build_request_init_hook_default
- dev-pawel/benchmark_span_storm
- dev-pawel/ci/build/symfony
- dev-pawel/build_new_init_hook
- dev-pawel/tmp_test_closure_check
- dev-pawel/add_trace_count_header_only_to_php
- dev-pawel/build_one_config_to_rule_them_all
- dev-sammyk/sandbox-args-old
- dev-pawel/document_environment_config
- dev-feature/add_error_handling_to_set_tag_and_logs
- dev-pawel/build_partial_flush
- dev-sammyk/fix-mongo-tests-redux
- dev-sammyk/add-easy-benchmarking
- dev-sammyk/speed-up-composer-updates
- dev-pawel/build_flush_via_curl
- dev-sammyk/uri-to-resource-normalization
- dev-build_release_0.24
- dev-sammyk/wrap-zend-execute
- dev-limit_span_creation_based_on_memory_limit
- dev-pawel/build_custom_use_laravel_start_time_if_available
- dev-labbati/service-name-param
- dev-sammyk/ignore-non-strings-for-tags
- dev-sammyk/fix-mongo-tests
- dev-pawel/use_laravel_start_time_if_available
- dev-tmp/0.20.0
- dev-sammyk/remove-zend-execute-override
- dev-pawel/test_old_ubuntu
- dev-pawel/test_build_all_the_things
- dev-curl/missing-headers
- dev-pawelch/build_messagepack
- dev-build_disabled_pdo
- dev-master_disabled_pdo
- dev-pawel/messagepack
- dev-dev
- dev-sammyk/debug-mode
- dev-poc_run_webtests_using_parallelism
- dev-labbati/symfony-template-spans
- dev-sammyk/poc-zephir
- dev-auto_tracing
- dev-revert-320-ext/unchecked-tracing
- dev-dont-merge/build-debug
- dev-sammyk/disable-per-route
- dev-sammyk/one-liner-enable
- dev-benchmarking
- dev-brettlangdon-patch-1
- dev-sharing_between_requests_poc
- dev-ext/interface-methods
- dev-fix_zts_build
- dev-pawelchcki-patch-1
- dev-add_docker_for_php_5_4
- dev-test/symfony-tests
- dev-test/symfony-test-app
- dev-bugfix/mysql_problem
- dev-chuck.hagenbuch/curl-wip
- dev-fix/implicit_methods
- dev-pawel/tmp/chuck_rebased_integration
- dev-chuck/msgpack-encoder
This package is auto-updated.
Last update: 2023-06-09 14:27:50 UTC
README
Getting Started
The Datadog PHP Tracer (ddtrace) brings APM and distributed tracing to PHP.
Installing the extension
Datadog’s PHP Tracing Library supports many of the most common PHP versions, PHP web frameworks, datastores, libraries, and more. Prior to installation, please check our latest compatibility requirements.
Visit the PHP tracer documentation for complete installation instructions.
Advanced configuration
For more information about configuring and instrumenting ddtrace, view the configuration documentation.
OpenTracing
The ddtrace package provides an OpenTracing-compatible tracer.
Contributing
Before contributing to this open source project, read our CONTRIBUTING.md.
Security Vulnerabilities
If you have found a security issue, please contact the security team directly at security@datadoghq.com.