Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPMetrics ¶
HTTPMetrics measures a handler's processing time and records them in a prometheus Summary metric
func HTTPMetricsWithRecorder ¶ added in v0.6.2
func HTTPMetricsWithRecorder(next http.Handler, record MetricsRecorder) http.Handler
HTTPMetricsWithRecorder measures a handler's processing time and called a MetricsRecorder to log those metrics
Types ¶
Click to show internal directories.
Click to hide internal directories.