Zipkin NewChildSpan bugfix
NewChildSpan did not properly take into account the sampling and debug
settings from the parent span.
Bas van Beek
7 years ago
271 | 271 |
traceID: span.traceID,
|
272 | 272 |
spanID: newID(),
|
273 | 273 |
parentSpanID: span.spanID,
|
|
274 |
debug: span.debug,
|
|
275 |
sampled: span.sampled,
|
|
276 |
runSampler: span.runSampler,
|
274 | 277 |
}
|
275 | 278 |
childSpan.Annotate(ClientSend)
|
276 | 279 |
for _, option := range options {
|