Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCollector ¶
func NewProvider ¶
Types ¶
type Collector ¶
type Collector interface { IncrementRequests() DecrementRequests() AddDuration(millisDuration time.Duration, requestType c.ApiRequestType, success bool) }
type Provider ¶
type Provider struct{}
func (*Provider) NewCounter ¶
func (p *Provider) NewCounter(metrics.CounterOpts) metrics.Counter
func (*Provider) NewHistogram ¶
func (p *Provider) NewHistogram(metrics.HistogramOpts) metrics.Histogram
Click to show internal directories.
Click to hide internal directories.