Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CounterAggregator ¶
type CounterAggregator struct {
// contains filtered or unexported fields
}
func NewCounterAggregator ¶
func NewCounterAggregator(w Writer) *CounterAggregator
type MetricClient ¶
type MetricClient interface {
NewCounter(name string, opts ...metricemitter.MetricOption) *metricemitter.Counter
}
MetricClient creates new CounterMetrics to be emitted periodically.
type Transponder ¶
type Transponder struct {
// contains filtered or unexported fields
}
func NewTransponder ¶
func NewTransponder( n Nexter, w Writer, tags map[string]string, batchSize int, batchInterval time.Duration, metricClient MetricClient, ) *Transponder
func (*Transponder) Start ¶
func (t *Transponder) Start()
Click to show internal directories.
Click to hide internal directories.