Skip to content

[entities] Do we allow different identifying attributes? #4253

@dmitryax

Description

@dmitryax

After prototyping entity detection in the collector open-telemetry/opentelemetry-collector-contrib#35538, we found that some detectors currently cannot provide the same set of identifying attributes for the same type. For example, most of the detectors detecting a host entity type can provide host.id while the docker detector currently can only provide host.name.

This particular issue with the docker detector can potentially be mitigated by:

  1. Updating the docker detector to provide host.id. To be investigated.
  2. If 1 isn't possible, the entity type can potentially be called differently.

Even if we have a solution for this particular case, it's possible to run into other cases like this with other entity types. We can keep tracking them in this issue.

Based on the observations, we need to decide if we strictly define a set of identifying attributes for a particular entity type or keep it open while providing a list of recommended attributes.

Metadata

Metadata

Assignees

Labels

entitiessig-issueA specific SIG should look into this before discussing at the spec

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions