Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultRequestDurationBuckets = prometheus.ExponentialBuckets(0.005, 2, 10) DefaultRequestBodySizeBuckets = prometheus.ExponentialBuckets(8, 2, 10) DefaultResponseBodySizeBuckets = prometheus.ExponentialBuckets(8, 2, 10) )
Functions ¶
func WithMetrics ¶
func WithMetrics(h http.HandlerFunc, cfg Config) http.HandlerFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.