The http client should be able to support the W3C trace context and traceparent header. The library should receive and updated trace from the Moov services. Users of the SDK that are already using open telemetry in their application should have the go/sdk append their traces to ctx
client := http.Client{
// Wrap the Transport with one that starts a span and injects the span context
// into the outbound request headers.
Transport: otelhttp.NewTransport(http.DefaultTransport),
Timeout: 10 * time.Second,
}
We should write an advanced readme for how to use distributed tracing in the moov-go sdk
The http client should be able to support the W3C trace context and
traceparent
header. The library should receive and updated trace from the Moov services. Users of the SDK that are already using open telemetry in their application should have the go/sdk append their traces toctx
We should write an advanced readme for how to use distributed tracing in the moov-go sdk