-
Notifications
You must be signed in to change notification settings - Fork 896
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
Fix what can be modified via ReadWriteLogRecord #3907
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I support this change, but how are we going to account for the SIGs that have implemented modification of more than the information added via Emit
?
PTAL @open-telemetry/cpp-maintainers Maybe C++ SIG could deprecate the methods, change its behavior to be no-op (no operation) and update the documentation accordingly? |
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
Fixes open-telemetry#3902 ## Changes Fix what can be modified via `ReadWriteLogRecord`.
open-telemetry/opentelemetry-specification#3907 implements some new requirements for logging: - ReadWriteLogRecord can mutate (eg by processors) - mutated ReadWriteLogRecord can be seen by later processors This is a breaking change because LogRecordProcessorInterface onEmit param changes to by-reference
open-telemetry/opentelemetry-specification#3907 implements some new requirements for logging: - ReadWriteLogRecord can mutate (eg by processors) - mutated ReadWriteLogRecord can be seen by later processors This is a breaking change because LogRecordProcessorInterface onEmit param changes to by-reference
open-telemetry/opentelemetry-specification#3907 implements some new requirements for logging: - ReadWriteLogRecord can mutate (eg by processors) - mutated ReadWriteLogRecord can be seen by later processors This is a breaking change because LogRecordProcessorInterface onEmit param changes to by-reference
Fixes #3902
Changes
Fix what can be modified via
ReadWriteLogRecord
.