Skip to content

Commit b6e1e67

Browse files
committed
test
1 parent 25a4995 commit b6e1e67

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

contrib/aws/internal/span_pointers/span_pointers.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ func HandleS3Operation(in middleware.DeserializeInput, out middleware.Deserializ
5353
link := ddtrace.SpanLink{
5454
// We leave trace_id, span_id, trade_id_high, tracestate, and flags as 0 or empty.
5555
// The Datadog frontend will use `ptr.hash` to find the linked span.
56+
TraceID: 0,
57+
SpanID: 0,
5658
TraceIDHigh: 0,
5759
Flags: 0,
5860
Tracestate: "",

ddtrace/ddtrace.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ type SpanLink struct {
114114
// TraceID represents the low 64 bits of the linked span's trace id. This field is required.
115115
TraceID uint64 `msg:"trace_id" json:"trace_id"`
116116
// TraceIDHigh represents the high 64 bits of the linked span's trace id. This field is only set if the linked span's trace id is 128 bits.
117-
TraceIDHigh uint64 `msg:"trace_id_high" json:"trace_id_high"`
117+
TraceIDHigh uint64 `msg:"trace_id_high2" json:"trace_id_high"`
118118
// SpanID represents the linked span's span id.
119119
SpanID uint64 `msg:"span_id" json:"span_id"`
120120
// Attributes is a mapping of keys to string values. These values are used to add additional context to the span link.

0 commit comments

Comments
 (0)