Documentation
¶
Overview ¶
Package metrics //
Package metrics //
Index ¶
Constants ¶
View Source
const ( DispatcherFailedFlush = "dispatcher.failFlush" DispatcherSuccessFlush = "dispatcher.successFlush" DispatcherRetryFlush = "dispatcher.retryFlush" DispatcherQueueSize = "dispatcher.queueSize" )
DispatcherFailedFlush stores failFlush string
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoopCounter ¶
type NoopCounter struct{}
NoopCounter implements Counter interface, provides minimal implementation
func (NoopCounter) Add ¶
func (m NoopCounter) Add(value float64)
Add implements the method from Counter interface
type NoopGauge ¶
type NoopGauge struct{}
NoopGauge implements Gauge interface, provides minimal implementation
type NoopRegistry ¶
type NoopRegistry struct{}
NoopRegistry contains default metrics registry, provides minimal implementation
func (*NoopRegistry) GetCounter ¶
func (m *NoopRegistry) GetCounter(key string) Counter
GetCounter gets the Counter
func (*NoopRegistry) GetGauge ¶
func (m *NoopRegistry) GetGauge(key string) Gauge
GetGauge gets the Gauge
Click to show internal directories.
Click to hide internal directories.