Skip to content

host.id and device.id are confusingly similar to each other #1768

Description

@Oberon00

This is a sub-issue or closely related to #1765 "host attribute key should be interchangeable with device".

The host.id and device.id attribute seem to describe the same concept. Both are optional string attributes in their respective resources.

host.id: Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider. Example: opentelemetry-test

vs

device.id: A unique identifier representing the device [1] Example: 2ab2916d-a51f-4ac8-80ee-45ac31a28092

Footnote [1] of device.id does add a bit of distinction since it only allows certain values and then only defines them for iOS and Android, so it seems to be applicable only to these. Nevertheless, this could be replaced by requiring the use of these particular IDs on these particular platforms for host.id.

Otherwise a clarification should be added when to prefer which attribute and when to use both.

Metadata

Metadata

Assignees

Labels

area:semantic-conventionsRelated to semantic conventionsspec:resourceRelated to the specification/resource directory

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions