Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
nhulston committed Jan 27, 2025
1 parent ee85da4 commit e6de76f
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions ddtrace/ddtrace.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,27 +106,6 @@ type SpanContext interface {
ForeachBaggageItem(handler func(k, v string) bool)
}

// MarshalJSON default 0 for TraceIDHigh
//func (s SpanLink) MarshalJSON() ([]byte, error) {
// type Alias SpanLink
// fmt.Println("MarshalJSON method called")
// return json.Marshal(struct {
// TraceID uint64 `json:"trace_id"`
// TraceIDHigh uint64 `json:"trace_id_high"`
// SpanID uint64 `json:"span_id"`
// Attributes map[string]string `json:"attributes,omitempty"`
// Tracestate string `json:"tracestate"`
// Flags uint32 `json:"flags"`
// }{
// TraceID: s.TraceID,
// TraceIDHigh: s.TraceIDHigh,
// SpanID: s.SpanID,
// Attributes: s.Attributes,
// Tracestate: s.Tracestate,
// Flags: s.Flags,
// })
//}

// StartSpanOption is a configuration option that can be used with a Tracer's StartSpan method.
type StartSpanOption func(cfg *StartSpanConfig)

Expand Down

0 comments on commit e6de76f

Please sign in to comment.