Update tracing dependencies
This commit is contained in:
parent
4919b638f9
commit
ed12366d52
98 changed files with 3371 additions and 2808 deletions
8
vendor/github.com/uber/jaeger-client-go/zipkin_thrift_span.go
generated
vendored
8
vendor/github.com/uber/jaeger-client-go/zipkin_thrift_span.go
generated
vendored
|
@ -48,13 +48,19 @@ func BuildZipkinThrift(s *Span) *z.Span {
|
|||
if parentID != 0 {
|
||||
ptrParentID = &parentID
|
||||
}
|
||||
traceIDHigh := int64(span.context.traceID.High)
|
||||
var ptrTraceIDHigh *int64
|
||||
if traceIDHigh != 0 {
|
||||
ptrTraceIDHigh = &traceIDHigh
|
||||
}
|
||||
timestamp := utils.TimeToMicrosecondsSinceEpochInt64(span.startTime)
|
||||
duration := span.duration.Nanoseconds() / int64(time.Microsecond)
|
||||
endpoint := &z.Endpoint{
|
||||
ServiceName: span.tracer.serviceName,
|
||||
Ipv4: int32(span.tracer.hostIPv4)}
|
||||
thriftSpan := &z.Span{
|
||||
TraceID: int64(span.context.traceID.Low), // TODO upgrade zipkin thrift and use TraceIdHigh
|
||||
TraceID: int64(span.context.traceID.Low),
|
||||
TraceIDHigh: ptrTraceIDHigh,
|
||||
ID: int64(span.context.spanID),
|
||||
ParentID: ptrParentID,
|
||||
Name: span.operationName,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue