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
Is your feature request related to a problem? Please describe.
If you have a multi-container pod that use OTel in combination with useLabelsForResourceAttributes, then all of those applications (on all containers) end up sharing the same service.instance.id and service.name.
Do you have an example of the user pain/confusion that can arise from the way it works now? In our environment, we made the choice where all containers w/in a pod logically constitute a service so it's good that they are consistently tagged w/ one service.instance.id (which is usually the pod name/uid).
I can understand how that might be a problem if for some reason team A is on call for container A and team B for container B, or other interesting organization topologies :)
Component(s)
auto-instrumentation
Related slack
https://cloud-native.slack.com/archives/C041APFBYQP/p1732635742710849
Is your feature request related to a problem? Please describe.
If you have a multi-container pod that use OTel in combination with
useLabelsForResourceAttributes
, then all of those applications (on all containers) end up sharing the sameservice.instance.id
andservice.name
.Why is this a problem for
service.instance.id
?The value must be unique (https://opentelemetry.io/docs/specs/semconv/attributes-registry/service/) - but all apps (in all containers) would get the same value.
Describe the solution you'd like
Given that the default (namespace name + pod name + container name) is good as it is, we could remove the logic for
service.instance.id
.Is this also a problem for
service.name
?It's not great, but you still have
service.instance.id
to differentiate.Is this a breaking change?
Yes - but I think we should accept this and prevent uses from accidental mistakes that can be hard to understand.
The text was updated successfully, but these errors were encountered: