Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// Metrics provides access to all dial metrics.
Metrics = newServerMetrics()
)
Functions ¶
This section is empty.
Types ¶
type ServerMetrics ¶
type ServerMetrics struct {
// contains filtered or unexported fields
}
ServerMetrics includes all the metrics of the proxy server.
func (*ServerMetrics) ObserveDialLatency ¶
func (a *ServerMetrics) ObserveDialLatency(elapsed time.Duration)
ObserveDialLatency records the latency of dial to the remote endpoint.
Click to show internal directories.
Click to hide internal directories.