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.
This is a sub-issue or closely related to #1765 "host attribute key should be interchangeable with device".
The
host.idanddevice.idattribute seem to describe the same concept. Both are optional string attributes in their respective resources.vs
Footnote [1] of
device.iddoes 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 forhost.id.Otherwise a clarification should be added when to prefer which attribute and when to use both.