PHP

Overview

The Datadog-PHP integration allows you to collect and monitor your PHP application logs, traces, and custom metrics.

Setup

Metric collection

See the dedicated documentation for collecting PHP custom metrics with DogStatsD.

Trace collection

See the dedicated documentation for instrumenting your PHP application to send its traces to Datadog.

Log collection

Available for Agent v6.0+

See the dedicated documentation on how to setup PHP log collection to forward your logs to Datadog.

Profile collection

See the dedicated documentation for enabling the PHP profiler.

Troubleshooting

Need help? Contact Datadog support.

Further Reading