package
0.0.0-20171009231159-a11eda293c5f
Repository: https://github.com/codelingo/kit.git
Documentation: pkg.go.dev
# Functions
NewCounter returns a Counter that writes values in the reportInterval to the given InfluxDB client, utilizing batching.
NewCounterTick is the same as NewCounter, but allows the user to pass a own channel to trigger the write process to the client.
NewGauge creates a new gauge instance, reporting points in the defined reportInterval.
NewGaugeTick is the same as NewGauge with a ticker channel instead of a interval.
NewHistogram is taken from http://github.com/codahale/metrics.
NewHistogramTick is the same as NewHistoGram, but allows to pass a custom reportTicker.