Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReporter ¶
func NewReporter(statsd statsd.Statter, opts Options) tally.StatsReporter
NewReporter wraps a statsd.Statter for use with tally. Use either statsd.NewClient or statsd.NewBufferedClient.
Types ¶
type Options ¶
type Options interface { // SampleRate returns the sample rate SampleRate() float32 // SetSampleRate sets the sample rate and returns new options with the value set SetSampleRate(value float32) Options }
Options represents a set of statsd stats reporter options
func NewOptions ¶
func NewOptions() Options
NewOptions creates a new set of statsd stats reporter options
Click to show internal directories.
Click to hide internal directories.