elastic / elastic-otel-php

Elastic distribution of OpenTelemetry for PHP
Apache License 2.0
1 stars 2 forks source link

Release 0.1.0 (i.e., alpha) does not support PHP 8.0 and 8.1 #90

Closed SergeyKleyman closed 2 months ago

SergeyKleyman commented 2 months ago

I noticed that alpha release package contains only vendor folders for PHP 8.2 and 8.3. According to the docs (https://github.com/elastic/elastic-otel-php/blob/main/docs/get-started.md#php) the supported PHP versions are 8.0-8.3. So the current alpha package will not support 8.0-8.1. The root cause is probably PDO auto-instrumentation (https://packagist.org/packages/open-telemetry/opentelemetry-auto-pdo) which only supports PHP 8.2+ so our packaging procedure silently fails when calling composer install for PHP 8.0 and 8.1