Skip to content

Conversation

@trask
Copy link
Member

@trask trask commented Dec 19, 2024

@trask trask marked this pull request as ready for review December 19, 2024 16:46
@trask trask requested a review from a team as a code owner December 19, 2024 16:46
@trask trask changed the title [Prototype] How to support complex attributes in logs/events? (Option C) [Prototype] How to support complex attributes in logs/events? (Option D) Dec 19, 2024
*/
// TODO (trask) how to use pre-encoded key?
// - is ComplexAttributeKey too broad (covers all nested attribute types)?
default LogRecordBuilder setAttribute(String key, ComplexAttribute value) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why introduce a new ComplexAttribute type instead of just setAttribute(String, Value)?

Only reason I can think of is for code generation in semantic-convention-java.

@trask trask marked this pull request as draft January 17, 2025 17:57
@trask
Copy link
Member Author

trask commented Jan 29, 2025

Closing in favor of #6983

@trask trask closed this Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants