Clarify scalar value types in Logs Data Model #3836
Labels
[label deprecated] triaged-accepted
[label deprecated] Issue triaged and accepted by OTel community, can proceed with creating a PR
spec:logs
Related to the specification/logs directory
The Logs Data Model is sparing describing the scalar values and it misses more information about the types.
See: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/logs/data-model.md#type-any
I think that the specification should be precise similarly to: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute.
Some logging libraries make it possible to pass a
uint64
attribute. However, it looks that it is not really possible to correctly pass such value via OTLP. But other exporters may able to handle such value so maybeuint64
should be supported as well?CC @open-telemetry/specs-logs-approvers
Related PR: pellared/opentelemetry-go#7
The text was updated successfully, but these errors were encountered: