Closed bripkens closed 1 year ago
Logs require it: https://opentelemetry.io/docs/specs/otel/logs/data-model/#type-any
There is an open spec issue to allow traces and metrics to also use KeyValueList: https://github.com/open-telemetry/opentelemetry-specification/issues/376
Awesome, thank you for the clarification @tigrannajaryan!
Hey folks,
we noticed that the documentation on the OTel website for attributes and the OTLP definition for
AnyValue
are slightly different. More specifically, OTLP accepts a wider range of values – specificallybytes
andKeyValueList
. Consequently, some questions came up:bytes
orKeyValueList
?OTLP
https://github.com/open-telemetry/opentelemetry-proto/blob/81a296f9dba23e32d77f46d58c8ea4244a2157a6/opentelemetry/proto/common/v1/common.proto#L28-L40
Website (source)