Documentation
¶
Index ¶
- type Client
- func (_m *Client) AddCounter(scope metrics.ScopeIdx, counter metrics.MetricIdx, delta int64)
- func (_m *Client) IncCounter(scope metrics.ScopeIdx, counter metrics.MetricIdx)
- func (_m *Client) RecordHistogramDuration(scope metrics.ScopeIdx, timer metrics.MetricIdx, d time.Duration)
- func (_m *Client) RecordTimer(scope metrics.ScopeIdx, timer metrics.MetricIdx, d time.Duration)
- func (_m *Client) Scope(scope metrics.ScopeIdx, tags ...metrics.Tag) metrics.Scope
- func (_m *Client) StartTimer(scope metrics.ScopeIdx, timer metrics.MetricIdx) tally.Stopwatch
- func (_m *Client) UpdateGauge(scope metrics.ScopeIdx, gauge metrics.MetricIdx, value float64)
- type Scope
- func (_m *Scope) AddCounter(counter metrics.MetricIdx, delta int64)
- func (_m *Scope) ExponentialHistogram(hist metrics.MetricIdx, d time.Duration)
- func (_m *Scope) IncCounter(counter metrics.MetricIdx)
- func (_m *Scope) IntExponentialHistogram(hist metrics.MetricIdx, value int)
- func (_m *Scope) RecordHistogramDuration(timer metrics.MetricIdx, d time.Duration)
- func (_m *Scope) RecordHistogramValue(timer metrics.MetricIdx, value float64)
- func (_m *Scope) RecordTimer(timer metrics.MetricIdx, d time.Duration)
- func (_m *Scope) StartTimer(timer metrics.MetricIdx) metrics.Stopwatch
- func (_m *Scope) Tagged(tags ...metrics.Tag) metrics.Scope
- func (_m *Scope) UpdateGauge(gauge metrics.MetricIdx, value float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func (*Client) AddCounter ¶
AddCounter provides a mock function with given fields: scope, counter, delta
func (*Client) IncCounter ¶
IncCounter provides a mock function with given fields: scope, counter
func (*Client) RecordHistogramDuration ¶ added in v0.24.0
func (_m *Client) RecordHistogramDuration(scope metrics.ScopeIdx, timer metrics.MetricIdx, d time.Duration)
RecordHistogramDuration provides a mock function with given fields: scope, timer, d
func (*Client) RecordTimer ¶
RecordTimer provides a mock function with given fields: scope, timer, d
func (*Client) Scope ¶ added in v0.5.7
Scope provides a mock function with given fields: scope, tags
func (*Client) StartTimer ¶
StartTimer provides a mock function with given fields: scope, timer
type Scope ¶ added in v0.5.9
Scope is an autogenerated mock type for the Scope type
func (*Scope) AddCounter ¶ added in v0.5.9
AddCounter provides a mock function with given fields: counter, delta
func (*Scope) ExponentialHistogram ¶ added in v1.3.6
func (*Scope) IncCounter ¶ added in v0.5.9
IncCounter provides a mock function with given fields: counter
func (*Scope) IntExponentialHistogram ¶ added in v1.3.6
func (*Scope) RecordHistogramDuration ¶ added in v0.6.0
RecordHistogramDuration provides a mock function with given fields: timer, d
func (*Scope) RecordHistogramValue ¶ added in v0.6.0
RecordHistogramValue provides a mock function with given fields: timer, value
func (*Scope) RecordTimer ¶ added in v0.5.9
RecordTimer provides a mock function with given fields: timer, d
func (*Scope) StartTimer ¶ added in v0.5.9
StartTimer provides a mock function with given fields: timer