-
Notifications
You must be signed in to change notification settings - Fork 894
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
Allow implementations to export log records with duplicate keys in a map as opt-in #3987
Conversation
CC @open-telemetry/dotnet-maintainers @open-telemetry/rust-maintainers @open-telemetry/cpp-maintainers @open-telemetry/go-maintainers |
@open-telemetry/specs-logs-approvers PTAL |
Changing to draft until we have some agreement on #3931 (comment) |
Co-authored-by: Pablo Baeyens <[email protected]>
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.
Thanks @pellared for working passionately to drive clarity and strive for performance!
@open-telemetry/specs-logs-approvers please review. |
Merging. Feel free to suggest further refinements. |
…map as opt-in (open-telemetry#3987) Fixes open-telemetry#3931 Per agreement: open-telemetry#3931 (comment) > The SDKs should handle the key-value deduplication by default. It is acceptable to add an option to disable deduplication. Previous PR: open-telemetry#3938 > I think it is fine to do the deduplication anywhere you want as long as externally observable data complies with this document. The main purpose of this PR is to have an agreement for following questions (and update the specification to to make it more clear): 1. Is the deduplication required for all log exporters or only OTLP log exporters? Answer: It is required for all exporters. 2. Can the key-value deduplication for log records be opt-in? Answer: Yes, it is OK as long as it is documented that it can cause problems in case maps duplicated keys are exported. Related to: - open-telemetry/opentelemetry-go#5086 - open-telemetry/opentelemetry-dotnet#4324
Fixes #3931
Per agreement: #3931 (comment)
Previous PR: #3938
The main purpose of this PR is to have an agreement for following questions (and update the specification to to make it more clear):
Related to: