Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
RequestLatency = prometheus.NewSummaryVec(
prometheus.SummaryOpts{
Subsystem: restClientSubsystem,
Name: "request_latency_microseconds",
Help: "Request latency in microseconds. Broken down by verb and URL",
MaxAge: time.Hour,
},
[]string{"verb", "url"},
)
)
Functions ¶
func SinceInMicroseconds ¶
func SinceInMicroseconds(start time.Time) float64
Gets the time since the specified start in microseconds.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.