Skip to content

[Page feedback]: Non Standard key/values for php.ini #9612

@gman-wa

Description

@gman-wa

URL

https://opentelemetry.io/docs/zero-code/php/

Description

Why the instructions to put these in php.ini

OTEL_PHP_AUTOLOAD_ENABLED="true"
OTEL_SERVICE_NAME=your-service-name
OTEL_TRACES_EXPORTER=otlp
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
OTEL_EXPORTER_OTLP_ENDPOINT=http://collector:4318
OTEL_PROPAGATORS=baggage,tracecontext

shouldn't it be otel.* like

otel.php.autoload_enabled = On
otel.php.detect_variables = On

?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions