type go.pact.im/x/traces.SpanRef
37 uses
go.pact.im/x/traces (current package)
record.go#L27: Ref SpanRef
record.go#L29: Parent SpanRef
sampler.go#L11: Parent SpanRef
span.go#L15: ref SpanRef
span.go#L21: func (s *Span) Ref() SpanRef {
spanref.go#L7: type SpanRef struct {
spanref.go#L18: func (r SpanRef) IsValid() bool {
spanref.go#L26: func NewContext(ctx context.Context, ref SpanRef) context.Context {
spanref.go#L32: func FromContext(ctx context.Context) SpanRef {
spanref.go#L33: ref, _ := ctx.Value(contextKey{}).(SpanRef)
tracer.go#L110: parent SpanRef,
tracer.go#L119: ref := SpanRef{
go.pact.im/x/traces/_example
service.go#L55: parent traces.SpanRef,
service.go#L89: parent traces.SpanRef,
go.pact.im/x/traces/grpctraces
handler.go#L39: extract func(get func(key string) []string) traces.SpanRef
handler.go#L40: inject func(ref traces.SpanRef, set func(key, value string))
handler.go#L83: f func(get func(key string) []string) traces.SpanRef,
handler.go#L94: f func(ref traces.SpanRef, set func(key, value string)),
handler.go#L149: var parent traces.SpanRef
go.pact.im/x/traces/httptraces
handler.go#L50: extract func(get func(key string) []string) traces.SpanRef
handler.go#L81: f func(get func(key string) []string) traces.SpanRef,
handler.go#L128: var parent traces.SpanRef
transport.go#L27: inject func(ref traces.SpanRef, set func(key, value string))
transport.go#L61: f func(ref traces.SpanRef, set func(key, value string)),
go.pact.im/x/traces/otelbridge
convert.go#L12: func parentFromContext(ctx context.Context) traces.SpanRef {
convert.go#L17: return traces.SpanRef{
convert.go#L23: return traces.SpanRef{}
provider.go#L50: var parent traces.SpanRef
go.pact.im/x/traces/slogtraces
slogtraces.go#L22: func Value(ref traces.SpanRef) slog.Value {
slogtraces.go#L39: func Attr(key string, ref traces.SpanRef) slog.Attr {
go.pact.im/x/traces/traceparent
traceparent.go#L40: func Extract(get func(key string) []string) traces.SpanRef {
traceparent.go#L43: return traces.SpanRef{}
traceparent.go#L47: return traces.SpanRef{}
traceparent.go#L54: func Inject(ref traces.SpanRef, set func(key, value string)) {
traceparent.go#L62: func Format(ref traces.SpanRef) string {
traceparent.go#L78: func Parse(s string) (traces.SpanRef, error) {
traceparent.go#L79: var ref traces.SpanRef