Skip to content

Commit 9edb35e

Browse files
committed
larify distinction between map<string, AnyValue> and Attribute Collections
1 parent d5cfbdf commit 9edb35e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

specification/common/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,12 @@ outside OpenTelemetry into OpenTelemetry attribute values.
122122
[Log Records](../logs/data-model.md),
123123
contain a collection of attributes.
124124

125+
Attribute Collections are top-level collections of key-value pairs used in
126+
OpenTelemetry data models.
127+
Note that they are distinct from [`map<string, AnyValue>`](#mapstring-anyvalue),
128+
which is a type of [`AnyValue`](#anyvalue) used to represent nested data
129+
structures within attribute values.
130+
125131
Implementation MUST by default ensure that the exported attribute collections
126132
contain only unique keys. The enforcement of uniqueness may be performed
127133
in a variety of ways as it best fits the limitations of the particular

0 commit comments

Comments
 (0)