open-telemetry / opentelemetry-specification

Specifications for OpenTelemetry
https://opentelemetry.io
Apache License 2.0
3.64k stars 870 forks source link

[entities-wg] Rubric for evaluation of Entity signal designs #4071

Open jsuereth opened 3 weeks ago

jsuereth commented 3 weeks ago

Today during the otel-entities WG, we discussed values we'd use in rubrics to evaluate future OTEPs/Designs on entities. These are a set of principles we'd like to uphold, but can be flexible on. Designs to move forward with entities should list these conditions in pros/cons (at a minimum).

I'm opening this issue to record decsions and a follow on comment to add un-addressed items we need to decide upon.

Core Principles

jsuereth commented 3 weeks ago

Issue 1 - Multi observers

We need the ability to understand if two observers are discussing the same entity. Should the entity have the same ID or should this situation be detectable?

jsuereth commented 3 weeks ago

Issue 2 - ENV variable for resources

We need some interaction between enttity, resource + ENV variable that doesn't break OTEL operator users (and others leveraging ENV variables).

jsuereth commented 3 weeks ago

Issue 3 - Duplicate entity reporting

Should we prevent duplicate entities from being emitted across all possible telemetry sources? Should we have an automatic way for the collector, e.g. to unify duplicate sources of entities and only emit one definitive signal?