Documentation ¶
Index ¶
- type Counter
- type MetricsReporter
- func (r *MetricsReporter) Duration() time.Duration
- func (r *MetricsReporter) NumTicks() int32
- func (r *MetricsReporter) Rate() float64
- func (r *MetricsReporter) ReceivedCounter() *Counter
- func (r *MetricsReporter) SentCounter() *Counter
- func (r *MetricsReporter) Start()
- func (r *MetricsReporter) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counter ¶
type Counter struct {
// contains filtered or unexported fields
}
func NewCounter ¶
func (*Counter) IncrementValue ¶
func (c *Counter) IncrementValue()
type MetricsReporter ¶
type MetricsReporter struct {
// contains filtered or unexported fields
}
func (*MetricsReporter) Duration ¶
func (r *MetricsReporter) Duration() time.Duration
func (*MetricsReporter) NumTicks ¶
func (r *MetricsReporter) NumTicks() int32
func (*MetricsReporter) Rate ¶
func (r *MetricsReporter) Rate() float64
func (*MetricsReporter) ReceivedCounter ¶
func (r *MetricsReporter) ReceivedCounter() *Counter
func (*MetricsReporter) SentCounter ¶
func (r *MetricsReporter) SentCounter() *Counter
func (*MetricsReporter) Start ¶
func (r *MetricsReporter) Start()
func (*MetricsReporter) Stop ¶
func (r *MetricsReporter) Stop()
Click to show internal directories.
Click to hide internal directories.