An Endpoint consists off an ip, a port and a service name.
When doing a trace, Brave (the Java implementation of Zipkin) uses different service names for the client and server.
For example, a trace from Service A to Service B:
1) Client send (with endpoint service name Service A)
2) Server receive (with endpoint service name Service B)
3) Server send (with endpoint service name Service B)
4) Client receive (with endpoint service name Service A)
However, that results in a Zipkin view where the span's service name is shown as "Service A,Service B", while the expected result should be "Service B".
Is there a bug in Brave (which is configured to use the same service name globally - if Service A calls Service B and Service C, it will always always identify itself as Service A and submit that in the Endpoint for cs and cr)?
- Eirik