KEMBAR78
[Prototype] How to support complex attributes in logs/events? (Option B) by trask · Pull Request #6959 · open-telemetry/opentelemetry-java · GitHub
Skip to content

Conversation

@trask
Copy link
Member

@trask trask commented Dec 16, 2024

Prototype for open-telemetry/opentelemetry-specification#4334

See also

Looking for feedback from @open-telemetry/java-approvers on whether evolving in this way seems reasonable, or if there is a different approach you would prefer in order to support complex attributes on logs/events.

// TODO(jack-berg): Should this be a JSON encoding?
String asString();

static ValueBuilder builder() {
Copy link
Member Author

Choose a reason for hiding this comment

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

this is specifically for building "maps"

another option is in #6761 that has separate map and list builders:

https://github.com/open-telemetry/opentelemetry-java/pull/6761/files#diff-11421657bbb9763b8bd1579fe3bc147d5955abc85a01a94eb567f641cdbb17a7R87-R93

@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.

1 participant