-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sdk autoloading #854
sdk autoloading #854
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #854 +/- ##
============================================
- Coverage 81.25% 80.67% -0.59%
- Complexity 1971 2011 +40
============================================
Files 250 255 +5
Lines 5165 5279 +114
============================================
+ Hits 4197 4259 +62
- Misses 968 1020 +52
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
This should wait for #859; it will need to incorporate config changes from that PR |
ensure all user-provided defaults are of the correct type
Enable autoloading/creating a global SDK from environment variables, which can be used by auto-instrumentation.
This should allow auto-instrumentation without any code (with env vars). Note the addition of a new env var,
OTEL_PHP_AUTOLOAD_ENABLED
- it must be enabled to allow autoloading.