semconv.com

Specificationv1.51.0

since v1.50.0
10 breaking5 notable30 editorial

From the upstream release notes

Read the full release notes

Breaking10

Requirements added to, removed from, or restrengthened in a document marked Stable.

  • rule droppedrequirementcommon/README.md#attribute-collectionsMUST NOT removed: The keys in each such collection are unique, i.e. there MUST NOT exist more than one key-value pair with the same key.
  • rule droppedrequirementlogs/data-model.md#field-attributesMUST removed: The log attribute model MUST support any type, a superset of standard Attribute, to preserve the semantics of structured attributes emitted by the applications.
  • new rulerequirementcommon/README.md#attributeMUST added: The attribute value MUST be one of types defined in AnyValue.
  • new rulerequirementcommon/README.md#attribute-collectionsMUST added: Implementation MUST by default enforce that the exported attribute collections contain only unique keys.
  • new rulerequirementcommon/README.md#attribute-collectionsMUST added: If such option is provided, it MUST be documented that for many receivers, handling of maps with duplicate keys is unpredictable and it is the users' responsibility to ensure keys are not duplicate.
  • new rulerequirementcommon/README.md#attribute-limitsMUST added: Status: Development - if it is a byte array, if its length exceeds that limit (counting each byte as 1), SDKs MUST truncate that value, so that its length is at most equal to the limit,
  • new rulerequirementcommon/README.md#attribute-limitsMUST NOT added: otherwise an attribute MUST NOT be discarded.
  • new rulerequirementcommon/README.md#mapstring-anyvalueMUST added: Case sensitivity of keys MUST be preserved.
  • new rulerequirementcommon/README.md#mapstring-anyvalueMUST added: The implementation MUST by default enforce that the exported maps contain only unique keys.
  • new rulerequirementcommon/README.md#mapstring-anyvalueMUST added: If such option is provided, it MUST be documented that for many receivers, handling of maps with duplicate keys is unpredictable and it is the users' responsibility to ensure keys are not duplicate.

Notable5

  • removedsectioncommon/README.md#standard-attributeSection "Standard Attribute" removed.
  • new rulerequirementcommon/README.md#anyvalueSHOULD added: APIs SHOULD be documented in a way to communicate to users that using array and map values may carry higher performance overhead compared to primitive values.
  • new rulerequirementcommon/README.md#anyvalueSHOULD added: While null is a valid attribute value, its use within homogeneous arrays SHOULD generally be avoided unless language constraints make this impossible.
  • new rulerequirementcommon/README.md#attribute-collectionsMAY added: Implementations MAY have an option to allow exporting attribute collections with duplicate keys (e.g. for better performance).
  • new rulerequirementcommon/README.md#mapstring-anyvalueMAY added: The implementation MAY have an option to allow exporting maps with duplicate keys (e.g. for better performance).

Editorial30