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?
Page to load without errors
What is the actual behavior?
The following error is shown:
Fatal error: Uncaught Error: Class "ResourceInfoFactory" not found in /Users/tnajaryan/work/experiments/otel-php/GettingStarted.php:2 Stack trace: #0 {main} thrown in /Users/tnajaryan/work/experiments/otel-php/GettingStarted.php on line 2
Additional context
Testing for open-telemetry/community#1537
I started with trace example, the next step would be adding logs, but I didn't get there.
The text was updated successfully, but these errors were encountered:
Sorry for dumb bug reports. For now I am following the Getting Started instructions to the letter without trying to troubleshoot myself, just to make sure our instructions are good.
This is because we haven't put all of the import statements in for brevity. To make the example work via copy/paste, we will need to add this (plus the <?php opening tag)
Describe your environment
Steps to reproduce
Follow instruction at https://opentelemetry.io/docs/instrumentation/php/manual/
Copy example from https://opentelemetry.io/docs/instrumentation/php/manual/#example to GetttingStarted.php
Run
https://opentelemetry.io/docs/instrumentation/php/manual/#example
Open http://localhost:8080/rolldice
What is the expected behavior?
Page to load without errors
What is the actual behavior?
The following error is shown:
Additional context
Testing for open-telemetry/community#1537
I started with trace example, the next step would be adding logs, but I didn't get there.
The text was updated successfully, but these errors were encountered: