Versions in this module Expand all Collapse all v0 v0.14.0 May 10, 2017 v0.13.0 May 8, 2017 Changes in this version + func WithTracer(ctx context.Context, tracer *Tracer) context.Context + type Conn struct + BytesRead *int64 + BytesWritten *int64 + func (c *Conn) Read(b []byte) (int, error) + func (c *Conn) Write(b []byte) (int, error) + type Dialer struct + Resolver *dnscache.Resolver + func NewDialer(dialer net.Dialer) *Dialer + func (d Dialer) DialContext(ctx context.Context, proto, addr string) (net.Conn, error) + type Tracer struct + func (t *Tracer) ConnectDone(network, addr string, err error) + func (t *Tracer) ConnectStart(network, addr string) + func (t *Tracer) Done() Trail + func (t *Tracer) GetConn(hostPort string) + func (t *Tracer) GotConn(info httptrace.GotConnInfo) + func (t *Tracer) GotFirstResponseByte() + func (t *Tracer) Trace() *httptrace.ClientTrace + func (t *Tracer) WroteRequest(info httptrace.WroteRequestInfo) + type Trail struct + Blocked time.Duration + BytesRead int64 + BytesWritten int64 + ConnRemoteAddr net.Addr + ConnReused bool + Connecting time.Duration + Duration time.Duration + EndTime time.Time + Receiving time.Duration + Sending time.Duration + StartTime time.Time + Waiting time.Duration + func (tr Trail) Samples(tags map[string]string) []stats.Sample