Tasks / php-distributed-context-propagation

PHP 10% pass rate View Task View Prompt

Instrument a PHP client-server application with OTEL tracing. Demonstrate distributed context propagation, produce exactly 2 trace IDs.

What makes it easy

- PHP OTEL SDK is relatively straightforward - Composer dependency management works well - HTTP context propagation is simpler in PHP

Common failure modes

- Server output format mismatch (test expects "Server starting on :8080" but PHP dev server outputs different format) - Only 1 trace ID produced instead of 2 (context propagated across both workflows)

Example error

AssertionError: Expected at least 2 trace IDs, got 1

Performance

All product names, logos, and brands (™/®) are the property of their respective owners; they're used here solely for identification and comparison, and their use does not imply affiliation, endorsement, or sponsorship.