opentelemetry-demo
opentelemetry-demo copied to clipboard
Add peer.service attribute to all service spans
Feature Request
The peer.service attribute helps to relate traces between services. We are currently using it in some services spans, but it would be great to add it to all spans. The attribute is defined in the semantic conventions: https://github.com/open-telemetry/semantic-conventions/blob/main/docs/attributes-registry/peer.md?plain=1#L15
Describe the solution you'd like:
Add the peer.service attributes to all the spans that make a request to known services.
https://github.com/open-telemetry/oteps/pull/247 (see also)
Is there another Otep to have this adequately defined? I'm not sure this is something the demo should do, but rather have it handled by the Spec and SDKs instead.