The Zipkin Data Model has a remoteEndpoint field that is used by Zipkin and it has effect on the span visualization.
According to the OTel docs, peer.service should be used for this purpose but according to the codebase it is not used and remoteEndpoint is never set.
Originally reported (here) on CNCF Slack.
Steps to reproduce
Send a span to Zipkin (peer.service should be set).
What did you expect to see?
remoteEndpoint being populated.
What did you see instead?
remoteEndpoint is missing.
What version and what artifacts are you using?
zipkin-exporter
Version: latest (main)
Environment
Unrelated.
The Zipkin Data Model has a
remoteEndpointfield that is used by Zipkin and it has effect on the span visualization.According to the OTel docs,
peer.serviceshould be used for this purpose but according to the codebase it is not used andremoteEndpointis never set.Originally reported (here) on CNCF Slack.
Steps to reproduce
Send a span to Zipkin (
peer.serviceshould be set).What did you expect to see?
remoteEndpointbeing populated.What did you see instead?
remoteEndpointis missing.What version and what artifacts are you using?
zipkin-exporterVersion: latest (
main)Environment
Unrelated.