Versions in this module Expand all Collapse all v1 v1.0.0 Jan 7, 2021 Changes in this version + const DefaultBufferSize + const DefaultSamplingFactor + type Data struct + Request RequestData + Response ResponseData + type Metrics struct + func New() (*Metrics, error) + func NewCapa(bufsize, factor int) (*Metrics, error) + func (m *Metrics) Data() (*Data, error) + func (m *Metrics) WrapHandleFunc(h http.Handler) http.Handler + type RequestData struct + Count int64 + StatusCount statusCountMap + type ResponseData struct + AverageTime float64 + MaxTime float64 + MinTime float64 + PercentiledTime percentiledTimeMap