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
What is the expected behavior?
Logs exported via OTLP
What is the actual behavior?
Error:
Uncaught RuntimeException: No protobuf implementation found (ext-protobuf or google/protobuf) in /Users/tnajaryan/work/experiments/otel-php/vendor/open-telemetry/exporter-otlp/LogsExporter.php:33
Stack trace:
#0 /Users/tnajaryan/work/experiments/otel-php/otlpexport.php(23): OpenTelemetry\Contrib\Otlp\LogsExporter->__construct(Object(OpenTelemetry\SDK\Common\Export\Http\PsrTransport))
#1 {main}
thrown in /Users/tnajaryan/work/experiments/otel-php/vendor/open-telemetry/exporter-otlp/LogsExporter.php on line 33
tigrannajaryan
changed the title
OtlpHttpTransportFactory requires protobuf implementation
OtlpHttpTransportFactory requires protobuf implementation, but not mentioned in docs
Jun 28, 2023
Describe your environment
$ php -v
PHP 8.2.7 (cli) (built: Jun 8 2023 20:05:45) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.7, Copyright (c) Zend Technologies
with Zend OPcache v8.2.7, Copyright (c), by Zend Technologies
Steps to reproduce
I am following the instruction exporter example here https://opentelemetry.io/docs/instrumentation/php/exporters/
Executed
composer require open-telemetry/exporter-otlp php-http/guzzle7-adapter
Using the following code:
What is the expected behavior?
Logs exported via OTLP
What is the actual behavior?
Error:
Additional context
Part of review open-telemetry/community#1537
The text was updated successfully, but these errors were encountered: