- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
For a summary of the minimum and recommended runtime and tracer versions across all languages, read Supported Language and Tracer Versions.
The Datadog Profiler requires at least PHP 7.1, on 64-bit Linux.
PHP ZTS builds are supported since dd-trace-php
version 0.99+, while PHP debug builds are not supported.
An operating system with glibc 2.17 or newer is required. The following versions or newer meet this requirement:
Datadog recommends running an OS version that is not EOL.
Version 3.13 or newer of Alpine Linux is required because the profiler is built against musl v1.2.
Additionally you need to install libgcc_s
with:
apk add libgcc
The following profiling features are available in the following minimum versions of the dd-trace-php
library:
Feature | Required dd-trace-php version |
---|---|
Trace to Profiling integration | 0.89.0+ |
Endpoint Profiling | 0.79.0+ |
Timeline | 0.98.0+ |
Continuous Profiler is not supported on some serverless platforms, such as AWS Lambda.
To begin profiling applications:
Ensure Datadog Agent v6+ is installed and running. Datadog recommends using Datadog Agent v7+.
Download the datadog-setup.php
script from the GitHub release page. Version 0.69.0 is the first tracer release to include this installer.
Run the installer to install both the tracer and profiler, for example php datadog-setup.php --enable-profiling
. This script is interactive and asks which of the detected PHP locations it should install to. At the end of the script, it outputs the non-interactive version of the command arguments for future use.
Configure the profiler using config mode through the datadog-setup.php
:
# `datadog.profiling.enabled` is not required for v0.82.0+.
php datadog-setup.php config set -d datadog.profiling.enabled=1
php datadog-setup.php config set \
-d datadog.service=app-name \
-d datadog.env=prod \
-d datadog.version=1.3.2
php hello.php
Apache, PHP-FPM and other servers require a restart after changing the INI settings.
See the configuration docs for more INI settings.
A minute or two after receiving a request, profiles appear on the APM > Profiler page.
The Getting Started with Profiler guide takes a sample service with a performance problem and shows you how to use Continuous Profiler to understand and fix the problem.