You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TraceInfo struct is used provide request trace info such as DNS lookup// duration, Connection obtain duration, Server processing duration, etc.//// Since v2.0.0typeTraceInfostruct {
// DNSLookup is a duration that transport took to perform// DNS lookup.DNSLookup time.Duration// ConnTime is a duration that took to obtain a successful connection.ConnTime time.Duration// TLSHandshake is a duration that TLS handshake took place.TLSHandshake time.Duration// ServerTime is a duration that server took to respond first byte.ServerTime time.Duration// ResponseTime is a duration since first response byte from server to// request completion.ResponseTime time.Duration// TotalTime is a duration that total request took end-to-end.TotalTime time.Duration// IsConnReused is whether this connection has been previously// used for another HTTP request.IsConnReusedbool// IsConnWasIdle is whether this connection was obtained from an// idle pool.IsConnWasIdlebool// ConnIdleTime is a duration how long the connection was previously// idle, if IsConnWasIdle is true.ConnIdleTime time.Duration
}
There was the issue #205 created by Resty user. In the thread @moorereason have created a quick tracer implementation with resty #205 (comment).
Refer to gist https://gist.github.com/moorereason/f77d69a2c823fb222eba61c151e63a6b and implement one for the resty.
The goal is to provide following metrics via tracer with structured data format.
The text was updated successfully, but these errors were encountered: