Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector for Statsd
func NewCollector ¶
NewCollector creates a metric collector which sends data to Statsd
func (*Collector) RegisterCounter ¶
func (c *Collector) RegisterCounter(options adapter.CollectorOptions) adapter.Counter
RegisterCounter creates a new counter for Statsd
func (*Collector) RegisterGauge ¶
func (c *Collector) RegisterGauge(options adapter.CollectorOptions) adapter.Gauge
RegisterGauge creates a new gauge for Statsd
func (*Collector) RegisterTimer ¶
func (c *Collector) RegisterTimer(options adapter.CollectorOptions) adapter.Timer
RegisterTimer creates a new timer for Statsd
Click to show internal directories.
Click to hide internal directories.