Documentation ¶
Index ¶
- func NewTracer(originalConfig gotracing.Config) (gotracing.Tracing, error)
- type Tracing
- func (t *Tracing) AttachTag(ctx context.Context, key string, value interface{})
- func (t *Tracing) CreateRootMux() (*mux.Router, http.Handler)
- func (t *Tracing) DynamicFields() []zapctx.DynamicFields
- func (t *Tracing) GrpcClientInterceptors(serviceName string) ([]grpc.UnaryClientInterceptor, []grpc.StreamClientInterceptor)
- func (t *Tracing) GrpcServerInterceptors(serviceName string) ([]grpc.UnaryServerInterceptor, []grpc.StreamServerInterceptor)
- func (t *Tracing) StartSpanFromContext(ctx context.Context, cfg gotracing.SpanConfig, ...) (retErr error)
- func (t *Tracing) WrapRoundTrip(rt http.RoundTripper) http.RoundTripper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Tracing ¶
type Tracing struct {
// contains filtered or unexported fields
}
func (*Tracing) DynamicFields ¶
func (t *Tracing) DynamicFields() []zapctx.DynamicFields
func (*Tracing) GrpcClientInterceptors ¶ added in v0.2.0
func (t *Tracing) GrpcClientInterceptors(serviceName string) ([]grpc.UnaryClientInterceptor, []grpc.StreamClientInterceptor)
func (*Tracing) GrpcServerInterceptors ¶ added in v0.2.0
func (t *Tracing) GrpcServerInterceptors(serviceName string) ([]grpc.UnaryServerInterceptor, []grpc.StreamServerInterceptor)
func (*Tracing) StartSpanFromContext ¶
func (*Tracing) WrapRoundTrip ¶
func (t *Tracing) WrapRoundTrip(rt http.RoundTripper) http.RoundTripper
Click to show internal directories.
Click to hide internal directories.