package
0.0.0-20171009231159-a11eda293c5f
Repository: https://github.com/codelingo/kit.git
Documentation: pkg.go.dev
# Functions
NewCallbackGauge emits values in the statsd protocol to the passed writer.
NewCallbackGaugeTick is the same as NewCallbackGauge, but allows the user to pass in ticker channels instead of durations to control report and scrape intervals.
NewCounter returns a Counter that emits observations in the statsd protocol to the passed writer.
NewCounterTick is the same as NewCounter, but allows the user to pass in a ticker channel instead of invoking time.Tick.
NewEmitter will return an Emitter that will prefix all metrics names with the given prefix.
NewEmitterDial is the same as NewEmitter, but allows you to specify your own Dialer function.
NewGauge returns a Gauge that emits values in the statsd protocol to the passed writer.
NewGaugeTick is the same as NewGauge, but allows the user to pass in a ticker channel instead of invoking time.Tick.
NewHistogram returns a Histogram that emits observations in the statsd protocol to the passed writer.
NewHistogramTick is the same as NewHistogram, but allows the user to pass a ticker channel instead of invoking time.Tick.