You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The spec specifies a merge behavior where the updating resource is overriding the existing resource attributes.
The resulting resource MUST have all attributes that are on any of the two input resources. If a key exists on both the old and updating resource, the value of the updating resource MUST be picked (even if the updated value is empty).
# determines if existing resource attributes should be overridden or preserved, defaults to true
override: <bool>
It says that the default is true. Given the reasons you stated above, I think it would indeed make sense to have it default to false.
Could you open an issue/PR right in the collector(-contrib) repo for that or should we gather opinions/agreement here first?
The spec specifies a merge behavior where the updating resource is overriding the existing resource attributes.
This behavior is unfortunately not great if collector detects and overrides resources via the resourcedetectionprocessor (https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/resourcedetectionprocessor). For example, in cases where libraries are sending telemetry data to a collector running on a different host, this model will lead to the loss of host-specific attributes.
We should recommend collector not to override the resource attributes coming from client libraries.
The text was updated successfully, but these errors were encountered: