You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"true" in php.ini are evaluated to "1" by get_cfg_var() (OpenTelemetry\SDK\Common\Configuration\Resolver\PhpIniAccessor) while the OpenTelemetry\SDK\Common\Configuration\Parser\BooleanParser only accepts "true" as true value.
The text was updated successfully, but these errors were encountered:
Discussed a little in the linked PR... are you sure you're correctly quoting "true" in php.ini? The opentelemetry spec says we have to use "true" and not other things that could also mean true, and in my testing double-quoting resolves this. We might need a documentation patch to clarify this, though.
Related to #1442 and fixed by open-telemetry/opentelemetry.io#5849 - that is, the required format for php.ini would be OTEL_PHP_AUTOLOAD_ENABLED="true", noting that the value is double-quoted
"true" in php.ini are evaluated to "1" by get_cfg_var() (OpenTelemetry\SDK\Common\Configuration\Resolver\PhpIniAccessor) while the OpenTelemetry\SDK\Common\Configuration\Parser\BooleanParser only accepts "true" as true value.
The text was updated successfully, but these errors were encountered: