Documentation ¶
Index ¶
- type StderrTracer
- func (ft *StderrTracer) FromContext(ctx context.Context) tab.Spanner
- func (ft *StderrTracer) NewContext(parent context.Context, span tab.Spanner) context.Context
- func (ft *StderrTracer) StartSpan(ctx context.Context, operationName string, opts ...interface{}) (context.Context, tab.Spanner)
- func (ft *StderrTracer) 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 StderrTracer ¶
type StderrTracer struct {
NoOpTracer *tab.NoOpTracer
}
StderrTracer is a wrapper around a NoOpTracer so we can add in a really simple stderr logger. Useful for seeing some of the internal state changes (like retries) that aren't normally customer visible.
func (*StderrTracer) FromContext ¶
func (ft *StderrTracer) FromContext(ctx context.Context) tab.Spanner
FromContext creates a stderrSpanner to allow for our stderrLogger to be created.
func (*StderrTracer) NewContext ¶
NewContext forwards to NoOpTracer.NewContext
Click to show internal directories.
Click to hide internal directories.