-
Notifications
You must be signed in to change notification settings - Fork 82
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
monolog scope name from channel #174
Conversation
* exceptions were being emitted as an array under the 'exception' key, which does not conform to our new enforcement that array attribute values must be homogeneous. Instead, format the exception to use the proper sementic convention attributes ('exception.xyz`) * do not emit context + extra as their own attribute keys. This will very often break the 'must be homogeneous' test, so move them up to top-level attribute (with context taking precedence if the same key exists in both) * use the monolog channel name to create a scope for each channel (which means now the logger will create and reference one logger per scope/channel)
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #174 +/- ##
============================================
+ Coverage 7.98% 33.27% +25.29%
- Complexity 239 762 +523
============================================
Files 24 66 +42
Lines 952 2897 +1945
============================================
+ Hits 76 964 +888
- Misses 876 1933 +1057
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 32 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
the original code was correct, but required an upstream (sdk) fix to support complex attributes for a LogRecord
Fixes: open-telemetry/opentelemetry-php#1049