Skip to content

Document PHP feature flag telemetry#37093

Draft
leoromanovsky wants to merge 1 commit into
leo.romanovsky/php-feature-flag-docsfrom
leo.romanovsky/php-feature-flag-telemetry-docs
Draft

Document PHP feature flag telemetry#37093
leoromanovsky wants to merge 1 commit into
leo.romanovsky/php-feature-flag-docsfrom
leo.romanovsky/php-feature-flag-telemetry-docs

Conversation

@leoromanovsky
Copy link
Copy Markdown
Contributor

@leoromanovsky leoromanovsky commented May 28, 2026

Motivation

The base PHP Feature Flags docs add setup and evaluation flows. Exposures and flag evaluation metrics are not ready to publish yet because the PHP telemetry path is currently blocked by a Rust version mismatch. This stacked PR queues the documentation now so it can land when that blocker is resolved, while still giving PHP customers the same guidance as the other server SDK docs for confirming flag evaluation counts and experiment exposures.

Changes

This PR extends the PHP server SDK page with DD_METRICS_OTEL_ENABLED=true, notes that non-flat context attributes affect targeting and exposure reporting, and adds troubleshooting entries for feature_flag.evaluations and experiment exposures. It keeps the minimum PHP tracer prerequisite from the base docs as datadog/dd-trace 1.20.0 or later and uses the same terminology as the shared server SDK docs.

Decisions

This is stacked on #37089 so the first PR can land the core PHP setup separately from telemetry docs. The troubleshooting language follows the Java server SDK structure: flag evaluation metrics are described separately from experiment exposures, and exposures are scoped to flags associated with an experiment rather than presented as standard flag behavior.

Validation

  • Ran git diff --check.
  • Verified the PHP page contains DD_METRICS_OTEL_ENABLED, feature_flag.evaluations, and experiment exposure troubleshooting in the stacked diff.

@github-actions
Copy link
Copy Markdown
Contributor

Preview links (active after the build_preview check completes)

Modified Files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant