Open
Description
Spec requires log API to support any
in attribute types https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/data-model.md#field-attributes
The log attribute model MUST support
any
type,
a superset of standard Attribute,
to preserve the semantics of structured attributes emitted by the applications.
LogRecord
uses the same Attributes
type as other signals and does not support any
attribute value
The recommendation is to:
- Keep supporting standard
Attributes
- see Attributes "hell" opentelemetry-specification#4201 for the context - Add log-specific attributes type that can take anyvalue and accept it as well
As long as p2 can be done incrementally, the lack of it should not block logs API/SDK stability.
It might, however block stability of logging handler bridge which should be able to create anyvalue attributes.
Part of open-telemetry/community#1751
Metadata
Assignees
Type
Projects
Status
No status
Activity