Is your feature request related to a problem?
The OpenTelemetry semantic conventions currently recommends that SDK implementations populate the service.instance.id Resource attributes using a v1/v4 UUID:
Implementations, such as SDKs, are recommended to generate a random Version 1 or Version 4 RFC 4122 UUID, but are free to use an inherent unique ID as the source of this value if stability is desirable. In that case, the ID SHOULD be used as source of a UUID Version 5 and SHOULD use the following UUID as the namespace: 4d63009a-8d0f-11ee-aad7-4c796ed8e320.
However, currently the SDK does not populate this resource attribute.
Describe the solution you'd like
There are certainly a cardinally concern that we should be weary of when introducing this feature. There is an open question of whether we should add this attribute by default, or if we should have it be opt-in only. I propose that we start by creating a ServiceInstanceIDResourceDetector resource detector, which users can opt in to initially. We can decide later if we want this resource detector enabled by default.
Describe alternatives you've considered
N/A
Additional Context
https://opentelemetry.io/docs/specs/semconv/registry/attributes/service/#service-attributes
Would you like to implement a fix?
Yes
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
Is your feature request related to a problem?
The OpenTelemetry semantic conventions currently recommends that SDK implementations populate the
service.instance.idResource attributes using a v1/v4 UUID:However, currently the SDK does not populate this resource attribute.
Describe the solution you'd like
There are certainly a cardinally concern that we should be weary of when introducing this feature. There is an open question of whether we should add this attribute by default, or if we should have it be opt-in only. I propose that we start by creating a
ServiceInstanceIDResourceDetectorresource detector, which users can opt in to initially. We can decide later if we want this resource detector enabled by default.Describe alternatives you've considered
N/A
Additional Context
https://opentelemetry.io/docs/specs/semconv/registry/attributes/service/#service-attributes
Would you like to implement a fix?
Yes
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it. Learn more here.