type go.pact.im/x/traces.Span
24 uses
go.pact.im/x/traces (current package)
span.go#L13: type Span struct {
span.go#L21: func (s *Span) Ref() SpanRef {
span.go#L26: func (s *Span) IsRecording() bool {
span.go#L32: func (s *Span) SetName(name string) {
span.go#L40: func (s *Span) SetStart(t time.Time) {
span.go#L48: func (s *Span) SetAttrs(attrs ...Attr) {
span.go#L56: func (s *Span) SetError(err error) {
span.go#L64: func (s *Span) End(ctx context.Context) {
span.go#L81: func EndError(ctx context.Context, sp *Span, errp *error) {
tracer.go#L114: ) *Span {
tracer.go#L116: return &Span{ref: parent}
tracer.go#L145: return &Span{ref: ref}
tracer.go#L159: return &Span{
go.pact.im/x/traces/grpctraces
handler.go#L175: sp, _ := ctx.Value(spanKey{}).(*traces.Span)
go.pact.im/x/traces/httptraces
transport.go#L161: sp *traces.Span
go.pact.im/x/traces/otelbridge
span.go#L19: span *traces.Span
go.pact.im/x/traces/pgxtraces
conn.go#L38: sp, _ := ctx.Value(connectSpanKey{}).(*traces.Span)
conn.go#L79: sp, _ := ctx.Value(acquireSpanKey{}).(*traces.Span)
query.go#L55: sp, _ := ctx.Value(querySpanKey{}).(*traces.Span)
query.go#L107: if batchSp, ok := ctx.Value(batchSpanKey{}).(*traces.Span); ok && batchSp != nil {
query.go#L145: sp, _ := ctx.Value(batchSpanKey{}).(*traces.Span)
query.go#L186: sp, _ := ctx.Value(copyFromSpanKey{}).(*traces.Span)
query.go#L231: sp, _ := ctx.Value(prepareSpanKey{}).(*traces.Span)
tracer.go#L177: func setError(sp *traces.Span, err error) {