Documentation ¶
Index ¶
- type Config
- type Tracer
- func (t *Tracer) NewClientInterceptorSpan(ctx context.Context, name string) (context.Context, *yabs_trace.Span)
- func (t *Tracer) NewClientSpan(ctx context.Context, pkg, method string) (context.Context, *yabs_trace.Span)
- func (t *Tracer) NewServerInterceptorSpan(ctx context.Context, name string) (context.Context, *yabs_trace.Span)
- func (t *Tracer) NewServerSpan(ctx context.Context, pkg, method string) (context.Context, *yabs_trace.Span)
- func (t *Tracer) NewSpan(ctx context.Context, pkg, method string) (context.Context, *yabs_trace.Span)
- func (t *Tracer) NewSpanHTTP(r *http.Request, pkg, method string) (*http.Request, *yabs_trace.Span)
- func (t *Tracer) SetErrStatus(span *trace.Span, code int32, err error, obj ...string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tracer ¶
type Tracer struct { Exporter *stackdriver.Exporter // contains filtered or unexported fields }
func NewGoogleTracing ¶
func (*Tracer) NewClientInterceptorSpan ¶
func (*Tracer) NewClientSpan ¶
func (*Tracer) NewServerInterceptorSpan ¶
func (*Tracer) NewServerSpan ¶
func (*Tracer) NewSpanHTTP ¶
Click to show internal directories.
Click to hide internal directories.