-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
localEndpoint is not parsed for extraction of service name #585
Comments
actually, this might not even be a bug, I'm not sure whether localEndpoint is mentioned in the opentracing API at all. Closing it for now. |
I think it might be a bug. Are you using Python client by chance? |
Nope, I was actually using Brave from openzipkin (that's why I wasn't sure that was an actual bug). However, the interesting part is that it started working at some point and it started reporting it correctly :/ which I did not expect to happen. |
Have similar issue after updating to Zipkin 2: {
"traceId": "ef1bd9a3beda07b2",
"id": "ef1bd9a3beda07b2",
"name": "loadbrowsecategories",
"timestamp": 1513273531819000,
"duration": 1084374,
"localEndpoint": {
"serviceName": "user-history",
"ipv4": "10.181.1.72",
"port": 8080
}
} Zipkin 1: {
"traceId": "e94ab76ce82c0a20",
"id": "e94ab76ce82c0a20",
"name": "loadbrowsecategories",
"timestamp": 1513273747662000,
"duration": 893797,
"binaryAnnotations": [
{
"key": "lc",
"value": "unknown",
"endpoint": {
"serviceName": "user-history",
"ipv4": "10.181.1.72",
"port": 8080
}
}
]
} May be related to #450 |
@pavolloffay want to take a look? In #518 it seems all unit tests for |
FWIW "lc" stands for "local component" which is a way to qualify different
things within the same process. "localEndpoint" is the way to qualify the
process.
…On Fri, Dec 15, 2017 at 1:57 AM, Alexander Golonzovsky < ***@***.***> wrote:
Have similar issue after updating to jaeger 1.0 and
spring-cloud-sleuth:1.3.0.RELEASE (uses zipkin 2). Between zipkin 1 and 2
this field git renamed from lc to localEndpoint
[image: screenshot from 2017-12-14 18-55-50]
<https://user-images.githubusercontent.com/2477950/34006996-8f0ec266-e100-11e7-932f-cd811151a2e2.png>
{
"traceId": "ef1bd9a3beda07b2",
"id": "ef1bd9a3beda07b2",
"name": "loadbrowsecategories",
"timestamp": 1513273531819000,
"duration": 1084374,
"localEndpoint": {
"serviceName": "user-history",
"ipv4": "10.181.1.72",
"port": 8080
}
}
{
"traceId": "e94ab76ce82c0a20",
"id": "e94ab76ce82c0a20",
"name": "loadbrowsecategories",
"timestamp": 1513273747662000,
"duration": 893797,
"binaryAnnotations": [
{
"key": "lc",
"value": "unknown",
"endpoint": {
"serviceName": "user-history",
"ipv4": "10.181.1.72",
"port": 8080
}
}
]
}
May be related to #450
<#450>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#585 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAD619NBRzvBH-L7eOX0Jt5vcuJwoh0Jks5tAWGBgaJpZM4Q272A>
.
|
I will look at it, IIRC service name is derived only from core annotations (client and server..) |
Fixes jaegertracing#585 Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Zipin add lc to keep service name Fixes #585 Signed-off-by: Pavol Loffay <ploffay@redhat.com> * Fix review comments Signed-off-by: Pavol Loffay <ploffay@redhat.com> * fix fmt Signed-off-by: Pavol Loffay <ploffay@redhat.com>
The Jaeger UI seems to display
unknown-service-name
when the service name is being set in thelocalEndpoint
variable of the tracing component.This is based on the latest publicly available docker image.
For example
The text was updated successfully, but these errors were encountered: