Skip to content

Provide JSON String guidance for Attribute Values #4446

@austinlparker

Description

@austinlparker

Currently, we disallow complex attribute value types as part of standard attributes. However, some users have requested we relax this restriction. Specifically, this issue was re-opened in the 3/11/25 Specification SIG meeting in the context of Generative AI semantic conventions, and the suitability of Events vs. Attribute Values for representing certain metadata on a span.

While this issue has been discussed in the past, I think it behooves us to provide guidance around JSON String encoding for values for semconv and consumers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    spec:miscellaneousFor issues that don't match any other spec labeltriage:deciding:community-feedbackOpen to community discussion. If the community can provide sufficient reasoning, it may be accepted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions