Documentation ¶
Index ¶
- func NewHttpTracer(serverName, address string) (opentracing.Tracer, io.Closer, error)
- func NewOpenTracer(serverName, address string) (opentracing.Tracer, io.Closer, error)
- type Jaeger
- type Tracer
- func (tracer *Tracer) Close() error
- func (tracer *Tracer) Instance() opentracing.Tracer
- func (tracer *Tracer) ListenHttp(router *gin.Engine)
- func (tracer *Tracer) NewContext(ctx context.Context, span opentracing.Span) context.Context
- func (tracer *Tracer) NewHttpRequestWithContext(ctx context.Context, req *http.Request) *nethttp.Tracer
- func (tracer *Tracer) NewHttpRequestWithSpanName(name string, req *http.Request) *nethttp.Tracer
- func (tracer *Tracer) NewSpan(name string) opentracing.Span
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHttpTracer ¶ added in v1.1.9
Types ¶
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
func (*Tracer) ListenHttp ¶
func (*Tracer) NewContext ¶
func (*Tracer) NewHttpRequestWithContext ¶
func (*Tracer) NewHttpRequestWithSpanName ¶
Click to show internal directories.
Click to hide internal directories.