Documentation ¶
Index ¶
- type NoOpTracerWithLogger
- func (t *NoOpTracerWithLogger) FromContext(context.Context) tab.Spanner
- func (t *NoOpTracerWithLogger) NewContext(parent context.Context, _ tab.Spanner) context.Context
- func (t *NoOpTracerWithLogger) StartSpan(ctx context.Context, operationName string, opts ...interface{}) (context.Context, tab.Spanner)
- func (t *NoOpTracerWithLogger) StartSpanWithRemoteParent(ctx context.Context, operationName string, carrier tab.Carrier, ...) (context.Context, tab.Spanner)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoOpTracerWithLogger ¶
NoOpTracerWithLogger is a tab.Tracer implementation that doesn't support any tracing capabilities, but provides access to a Logger through a Spanner.
func NewNoOpTracerWithLogger ¶
func NewNoOpTracerWithLogger(l *zap.SugaredLogger) *NoOpTracerWithLogger
NewNoOpTracerWithLogger returns a NoOpTracerWithLogger initialized with the given logger.
func (*NoOpTracerWithLogger) FromContext ¶
func (t *NoOpTracerWithLogger) FromContext(context.Context) tab.Spanner
FromContext implements tab.Tracer.
func (*NoOpTracerWithLogger) NewContext ¶
NewContext implements tab.Tracer.
Click to show internal directories.
Click to hide internal directories.