Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DogStatsdSink ¶
type DogStatsdSink struct {
// contains filtered or unexported fields
}
DogStatsdSink provides a MetricSink that can be used with a dogstatsd server. It utilizes the Dogstatsd client at github.com/DataDog/datadog-go/statsd
func NewDogStatsdSink ¶
func NewDogStatsdSink(addr string, hostName string) (*DogStatsdSink, error)
NewDogStatsdSink is used to create a new DogStatsdSink with sane defaults
func (*DogStatsdSink) BuildMetricEmitter ¶
func (s *DogStatsdSink) BuildMetricEmitter(mType metrics.MetricType, keys []string, labels []metrics.Label) metrics.MetricEmitter
func (*DogStatsdSink) Shutdown ¶
func (s *DogStatsdSink) Shutdown()
Shutdown disables further metric collection, blocks to flush data, and tears down the sink.
Click to show internal directories.
Click to hide internal directories.