Closed
Description
Client --> CF Router --> Sleuth App
Client request:
curl hello-sleuth-semipolitical-codicil.superman.cf-app.com
CF Router generates ids for trace and span and send them to the app in headers:
X-B3-TraceId: f1d33fbe60858c90
X-B3-SpanId: 8b8a69da8590b373
Sleuth App logs
[,f1d33fbe60858c90,c4270b8e465f6fd6,true]
Full log output: https://gist.github.com/shalako/15b63e3969f827bbf5b9e884420a2ec2
A new span suggests the app is sending a request somewhere, no? Ours is not. I would have expected to see the parent span logged, and no new span id generated.
We developed the app to return the following response:
$ curl hello-sleuth-semipolitical-codicil.superman.cf-app.com
current span: [Trace: f1d33fbe60858c90, Span: c4270b8e465f6fd6, exportable=true]
parents: [8b8a69da8590b373]
This tells us that the app (Sleuth?) is aware of what the parent span is. I just don't know why a new span id is generated by the app.