Skip to content

chore(php): use boolean env vars in sample manifest#272

Open
trevdem wants to merge 2 commits into
DataDog:masterfrom
trevdem:chore/php-sample-manifest-boolean-style
Open

chore(php): use boolean env vars in sample manifest#272
trevdem wants to merge 2 commits into
DataDog:masterfrom
trevdem:chore/php-sample-manifest-boolean-style

Conversation

@trevdem

@trevdem trevdem commented Jul 9, 2026

Copy link
Copy Markdown

Summary

  • Use bare true for all boolean env vars in the PHP sample app manifest:
    • DD_PROFILING_ENABLED
    • DD_APM_INSTRUMENTATION_ENABLED
    • DD_ENABLE_CAPI_METADATA_COLLECTION
  • Aligns with DD_LOGS_ENABLED (already bare true) and with the Node.js/Java sample apps

Test plan

  • Verified run-datadog.sh checks [ "${DD_PROFILING_ENABLED:-}" = "true" ], which matches YAML boolean true when rendered as an env var
  • Verified DD_APM_INSTRUMENTATION_ENABLED and DD_ENABLE_CAPI_METADATA_COLLECTION use the same string comparison pattern elsewhere in the buildpack

Align the PHP sample app with Node.js and Java examples that use bare
`true` instead of a quoted string.

Co-authored-by: Cursor <cursoragent@cursor.com>
@trevdem
trevdem requested a review from a team as a code owner July 9, 2026 03:14
Use bare true for DD_APM_INSTRUMENTATION_ENABLED and
DD_ENABLE_CAPI_METADATA_COLLECTION to match DD_LOGS_ENABLED and
DD_PROFILING_ENABLED in the same file.

Co-authored-by: Cursor <cursoragent@cursor.com>
@trevdem trevdem changed the title chore(php): use boolean DD_PROFILING_ENABLED in sample manifest chore(php): use boolean env vars in sample manifest Jul 9, 2026
@trevdem

trevdem commented Jul 14, 2026

Copy link
Copy Markdown
Author

@DataDog/agent-integrations Could someone from the team take a look when you have a chance? Thanks!

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